#A8AF29#A8AF29
#A8AF29 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.149 H 112.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AF29 |
|---|---|
| RGB | rgb(168, 175, 41) |
| HSL | hsl(63, 62%, 42%) |
| HSV | hsv(63, 77%, 69%) |
| CMYK | cmyk(4%, 0%, 76.6%, 31.4%) |
| CIE-LAB | lab(68.86, -18.36, 62.63) |
| CIE-LCH | lch(68.86, 65.26, 106.34°) |
| OKLab | oklab(72.52% -0.0572 0.1372) |
| OKLCH | oklch(72.52% 0.149 112.6) |
| XYZ | xyz(31.8797, 39.1456, 7.9739) |
| Luminance | 0.3915 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.67
Puke Green
#9AAE07
ΔE00 3.15
Vomit
#A2A415
ΔE00 3.33
Puke
#A5A502
ΔE00 3.57
Snot
#ACBB0D
ΔE00 3.88
Pea Soup Green
#94A617
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AF29 #3029AF
analogous
#AF7329 #A8AF29 #65AF29
triadic
#A8AF29 #29A8AF #AF29A8
tetradic
#A8AF29 #29AF73 #3029AF #AF2965
square
#A8AF29 #29AF73 #3029AF #AF2965
split-complementary
#A8AF29 #2965AF #7329AF
monochromatic
#494C12 #787D1D #A8AF29 #CBD342 #D9DE74
Accessibility & contrast
On white
2.38
#A8AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A8AF29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AF29
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AF29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AF29 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA704
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a8af29; /* rgb */ color: rgb(168, 175, 41); /* oklch */ color: oklch(72.5% 0.149 112.6);
Tailwind
colors: {
custom: {
50: '#c5c66e',
500: '#a8af29',
950: '#000000',
},
}SCSS
$custom: #a8af29; $custom-light: #c5c66e; $custom-dark: #000000;
JSON
{
"hex": "#a8af29",
"rgb": {
"r": 168,
"g": 175,
"b": 41
},
"hsl": {
"h": 63.134,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.72523,
"c": 0.1486,
"h": 112.6
},
"luminance": 0.39145
}Semantic roles & 50–950 ramp
primary
#A8AF29
secondary
#736EC6
accent
#43E54B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B