Skip to content
Kolorvia
#a6b238

Color #a6b238

A moderately saturated medium yellow.

Conversions

HEX
#a6b238
RGB
rgb(166, 178, 56)
HSL
hsl(65.9, 52.1%, 45.9%)
HSV / HSB
hsv(65.9, 68.5%, 69.8%)
CMYK
cmyk(6.7%, 0%, 68.5%, 30.2%)
LAB
lab(69.64, -19.98, 58.01)
LCH
lch(69.64, 61.35, 109)
OKLCH
oklch(73.1%, 0.1434, 114.83)
HWB
hwb(65.9, 22%, 30.2%)

Harmony colors

Complementary

#4438b2

Analogous

#b28138
#a6b238
#69b238

Triadic

#a6b238
#38a6b2
#b238a6

Split-complementary

#a6b238
#3869b2
#8138b2

Tetradic

#a6b238
#38b244
#4438b2
#b238a6

Square

#a6b238
#38b281
#4438b2
#b23869

Shades

Color #a6b238 mixed toward black.

#8a942f
#6f7725
#53591c
#373b13
#1c1e09

Tints

Color #a6b238 mixed toward white.

#bcc850
#cad373
#d7de96
#e4e9b9
#f2f4dc

Tones

Color #a6b238 mixed toward gray.

#9ea842
#969e4c
#8e9457
#858961
#7d7f6b

Accessibility

Aa White text on this color
2.32:1
Aa Black text on this color
9.05:1

Black text reads better on this background (9.05:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#abab68 · ΔE 8.1

Deuteranopia

#abaa70 · ΔE 9.9

Tritanopia

#a78084 · ΔE 39.7

Achromatopsia

#aaaaaa · ΔE 25.8

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #a6b238;
Tailwind (arbitrary value)
bg-[#a6b238]

Related colors

Ivory #fffff0
Beige #f5f5dc
Light Goldenrod Yellow #fafad2
Light Yellow #ffffe0
Olive #808000
Yellow #ffff00

Frequently asked questions

#a6b238 (#a6b238) is rgb(166, 178, 56) in RGB.

No, #a6b238 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #a6b238, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.