#A6AF29#A6AF29
#A6AF29 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.149 H 113.5°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AF29 |
|---|---|
| RGB | rgb(166, 175, 41) |
| HSL | hsl(64, 62%, 42%) |
| HSV | hsv(64, 77%, 69%) |
| CMYK | cmyk(5.1%, 0%, 76.6%, 31.4%) |
| CIE-LAB | lab(68.70, -19.22, 62.43) |
| CIE-LCH | lch(68.70, 65.32, 107.12°) |
| OKLab | oklab(72.36% -0.0595 0.1368) |
| OKLCH | oklch(72.36% 0.149 113.5) |
| XYZ | xyz(31.4571, 38.9277, 7.9541) |
| Luminance | 0.3893 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.65
Puke Green
#9AAE07
ΔE00 2.74
Vomit
#A2A415
ΔE00 3.49
Barf Green
#94AC02
ΔE00 3.71
Pea Soup Green
#94A617
ΔE00 3.77
Puke
#A5A502
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AF29 #3229AF
analogous
#AF7529 #A6AF29 #63AF29
triadic
#A6AF29 #29A6AF #AF29A6
tetradic
#A6AF29 #29AF75 #3229AF #AF2963
square
#A6AF29 #29AF75 #3229AF #AF2963
split-complementary
#A6AF29 #2963AF #7529AF
monochromatic
#484C12 #777D1D #A6AF29 #C9D342 #D7DE74
Accessibility & contrast
On white
2.39
#A6AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#A6AF29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AF29
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AF29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AF29 | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA604
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#B1A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a6af29; /* rgb */ color: rgb(166, 175, 41); /* oklch */ color: oklch(72.4% 0.149 113.5);
Tailwind
colors: {
custom: {
50: '#c4c66e',
500: '#a6af29',
950: '#000000',
},
}SCSS
$custom: #a6af29; $custom-light: #c4c66e; $custom-dark: #000000;
JSON
{
"hex": "#a6af29",
"rgb": {
"r": 166,
"g": 175,
"b": 41
},
"hsl": {
"h": 64.03,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.72358,
"c": 0.14916,
"h": 113.5
},
"luminance": 0.38927
}Semantic roles & 50–950 ramp
primary
#A6AF29
secondary
#746EC6
accent
#43E54E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B