#A4AF29#A4AF29
#A4AF29 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.150 H 114.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AF29 |
|---|---|
| RGB | rgb(164, 175, 41) |
| HSL | hsl(65, 62%, 42%) |
| HSV | hsv(65, 77%, 69%) |
| CMYK | cmyk(6.3%, 0%, 76.6%, 31.4%) |
| CIE-LAB | lab(68.54, -20.08, 62.23) |
| CIE-LCH | lch(68.54, 65.39, 107.89°) |
| OKLab | oklab(72.19% -0.0618 0.1364) |
| OKLCH | oklch(72.19% 0.15 114.4) |
| XYZ | xyz(31.0410, 38.7132, 7.9346) |
| Luminance | 0.3871 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.38
Mustard Green
#A8B504
ΔE00 2.72
Barf Green
#94AC02
ΔE00 3.30
Pea Soup Green
#94A617
ΔE00 3.44
Vomit
#A2A415
ΔE00 3.70
Snot
#ACBB0D
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AF29 #3429AF
analogous
#AF7729 #A4AF29 #61AF29
triadic
#A4AF29 #29A4AF #AF29A4
tetradic
#A4AF29 #29AF77 #3429AF #AF2961
square
#A4AF29 #29AF77 #3429AF #AF2961
split-complementary
#A4AF29 #2961AF #7729AF
monochromatic
#474C12 #767D1D #A4AF29 #C7D342 #D6DE74
Accessibility & contrast
On white
2.40
#A4AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#A4AF29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AF29
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AF29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AF29 | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA604
Deuteranopia (green-blind)
#BCA835
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a4af29; /* rgb */ color: rgb(164, 175, 41); /* oklch */ color: oklch(72.2% 0.150 114.4);
Tailwind
colors: {
custom: {
50: '#c3c66e',
500: '#a4af29',
950: '#000000',
},
}SCSS
$custom: #a4af29; $custom-light: #c3c66e; $custom-dark: #000000;
JSON
{
"hex": "#a4af29",
"rgb": {
"r": 164,
"g": 175,
"b": 41
},
"hsl": {
"h": 64.925,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.72194,
"c": 0.14977,
"h": 114.4
},
"luminance": 0.38713
}Semantic roles & 50–950 ramp
primary
#A4AF29
secondary
#756EC6
accent
#43E550
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B