#A6AC2B#A6AC2B
#A6AC2B is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.7% C 0.145 H 112.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AC2B |
|---|---|
| RGB | rgb(166, 172, 43) |
| HSL | hsl(63, 60%, 42%) |
| HSV | hsv(63, 75%, 67%) |
| CMYK | cmyk(3.5%, 0%, 75%, 32.5%) |
| CIE-LAB | lab(67.86, -17.62, 61.00) |
| CIE-LCH | lch(67.86, 63.49, 106.11°) |
| OKLab | oklab(71.69% -0.0549 0.1341) |
| OKLCH | oklch(71.69% 0.145 112.2) |
| XYZ | xyz(30.9155, 37.7872, 7.9501) |
| Luminance | 0.3779 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.68
Puke
#A5A502
ΔE00 3.15
Puke Green
#9AAE07
ΔE00 3.34
Mustard Green
#A8B504
ΔE00 3.49
Pea Soup Green
#94A617
ΔE00 3.70
Barf Green
#94AC02
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AC2B #312BAC
analogous
#AC722B #A6AC2B #65AC2B
triadic
#A6AC2B #2BA6AC #AC2BA6
tetradic
#A6AC2B #2BAC72 #312BAC #AC2B65
square
#A6AC2B #2BAC72 #312BAC #AC2B65
split-complementary
#A6AC2B #2B65AC #722BAC
monochromatic
#474A13 #777B1F #A6AC2B #CAD044 #D8DC75
Accessibility & contrast
On white
2.45
#A6AC2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#A6AC2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AC2B
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AC2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AC2B | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A40D
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#B2A194
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a6ac2b; /* rgb */ color: rgb(166, 172, 43); /* oklch */ color: oklch(71.7% 0.145 112.2);
Tailwind
colors: {
custom: {
50: '#c4c46f',
500: '#a6ac2b',
950: '#000000',
},
}SCSS
$custom: #a6ac2b; $custom-light: #c4c46f; $custom-dark: #000000;
JSON
{
"hex": "#a6ac2b",
"rgb": {
"r": 166,
"g": 172,
"b": 43
},
"hsl": {
"h": 62.791,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.71692,
"c": 0.14492,
"h": 112.2
},
"luminance": 0.37786
}Semantic roles & 50–950 ramp
primary
#A6AC2B
secondary
#736FC4
accent
#45E34C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B