#A4AF2F#A4AF2F
#A4AF2F is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.146 H 114.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AF2F |
|---|---|
| RGB | rgb(164, 175, 47) |
| HSL | hsl(65, 58%, 44%) |
| HSV | hsv(65, 73%, 69%) |
| CMYK | cmyk(6.3%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(68.58, -19.81, 60.25) |
| CIE-LCH | lch(68.58, 63.42, 108.20°) |
| OKLab | oklab(72.23% -0.0605 0.1333) |
| OKLCH | oklch(72.23% 0.146 114.4) |
| XYZ | xyz(31.1538, 38.7583, 8.5287) |
| Luminance | 0.3876 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.69
Mustard Green
#A8B504
ΔE00 3.17
Barf Green
#94AC02
ΔE00 3.49
Pea Soup Green
#94A617
ΔE00 3.50
Vomit
#A2A415
ΔE00 3.91
Booger
#9BB53C
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AF2F #3A2FAF
analogous
#AF7A2F #A4AF2F #64AF2F
triadic
#A4AF2F #2FA4AF #AF2FA4
tetradic
#A4AF2F #2FAF7A #3A2FAF #AF2F64
square
#A4AF2F #2FAF7A #3A2FAF #AF2F64
split-complementary
#A4AF2F #2F64AF #7A2FAF
monochromatic
#4A4F15 #777F22 #A4AF2F #C4CF4C #D4DC7C
Accessibility & contrast
On white
2.40
#A4AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#A4AF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AF2F
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AF2F | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#AFA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a4af2f; /* rgb */ color: rgb(164, 175, 47); /* oklch */ color: oklch(72.2% 0.146 114.4);
Tailwind
colors: {
custom: {
50: '#c2c671',
500: '#a4af2f',
950: '#000000',
},
}SCSS
$custom: #a4af2f; $custom-light: #c2c671; $custom-dark: #000000;
JSON
{
"hex": "#a4af2f",
"rgb": {
"r": 164,
"g": 175,
"b": 47
},
"hsl": {
"h": 65.156,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.72231,
"c": 0.1464,
"h": 114.4
},
"luminance": 0.38758
}Semantic roles & 50–950 ramp
primary
#A4AF2F
secondary
#7C75C4
accent
#47E154
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B