#A7AF29#A7AF29
#A7AF29 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.149 H 113.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AF29 |
|---|---|
| RGB | rgb(167, 175, 41) |
| HSL | hsl(64, 62%, 42%) |
| HSV | hsv(64, 77%, 69%) |
| CMYK | cmyk(4.6%, 0%, 76.6%, 31.4%) |
| CIE-LAB | lab(68.78, -18.79, 62.53) |
| CIE-LCH | lch(68.78, 65.29, 106.73°) |
| OKLab | oklab(72.44% -0.0583 0.137) |
| OKLCH | oklch(72.44% 0.149 113.1) |
| XYZ | xyz(31.6676, 39.0362, 7.9640) |
| Luminance | 0.3904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.65
Puke Green
#9AAE07
ΔE00 2.94
Vomit
#A2A415
ΔE00 3.40
Puke
#A5A502
ΔE00 3.69
Snot
#ACBB0D
ΔE00 3.86
Barf Green
#94AC02
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF29 #3129AF
analogous
#AF7429 #A7AF29 #64AF29
triadic
#A7AF29 #29A7AF #AF29A7
tetradic
#A7AF29 #29AF74 #3129AF #AF2964
square
#A7AF29 #29AF74 #3129AF #AF2964
split-complementary
#A7AF29 #2964AF #7429AF
monochromatic
#484C12 #787D1D #A7AF29 #CAD342 #D8DE74
Accessibility & contrast
On white
2.38
#A7AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#A7AF29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF29
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF29 | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA604
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#B3A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7af29; /* rgb */ color: rgb(167, 175, 41); /* oklch */ color: oklch(72.4% 0.149 113.1);
Tailwind
colors: {
custom: {
50: '#c5c66e',
500: '#a7af29',
950: '#000000',
},
}SCSS
$custom: #a7af29; $custom-light: #c5c66e; $custom-dark: #000000;
JSON
{
"hex": "#a7af29",
"rgb": {
"r": 167,
"g": 175,
"b": 41
},
"hsl": {
"h": 63.582,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.7244,
"c": 0.14888,
"h": 113.1
},
"luminance": 0.39036
}Semantic roles & 50–950 ramp
primary
#A7AF29
secondary
#736EC6
accent
#43E54C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B