#A2AF2F#A2AF2F
#A2AF2F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.147 H 115.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF2F |
|---|---|
| RGB | rgb(162, 175, 47) |
| HSL | hsl(66, 58%, 44%) |
| HSV | hsv(66, 73%, 69%) |
| CMYK | cmyk(7.4%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(68.42, -20.66, 60.05) |
| CIE-LCH | lch(68.42, 63.50, 108.99°) |
| OKLab | oklab(72.07% -0.0627 0.133) |
| OKLCH | oklch(72.07% 0.147 115.3) |
| XYZ | xyz(30.7442, 38.5471, 8.5095) |
| Luminance | 0.3855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.46
Barf Green
#94AC02
ΔE00 3.16
Pea Soup Green
#94A617
ΔE00 3.25
Mustard Green
#A8B504
ΔE00 3.33
Booger
#9BB53C
ΔE00 3.49
Sickly Green
#94B21C
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF2F #3C2FAF
analogous
#AF7C2F #A2AF2F #62AF2F
triadic
#A2AF2F #2FA2AF #AF2FA2
tetradic
#A2AF2F #2FAF7C #3C2FAF #AF2F62
square
#A2AF2F #2FAF7C #3C2FAF #AF2F62
split-complementary
#A2AF2F #2F62AF #7C2FAF
monochromatic
#494F15 #757F22 #A2AF2F #C2CF4C #D2DC7C
Accessibility & contrast
On white
2.41
#A2AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#A2AF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF2F
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF2F | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#ADA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af2f; /* rgb */ color: rgb(162, 175, 47); /* oklch */ color: oklch(72.1% 0.147 115.3);
Tailwind
colors: {
custom: {
50: '#c1c671',
500: '#a2af2f',
950: '#000000',
},
}SCSS
$custom: #a2af2f; $custom-light: #c1c671; $custom-dark: #000000;
JSON
{
"hex": "#a2af2f",
"rgb": {
"r": 162,
"g": 175,
"b": 47
},
"hsl": {
"h": 66.094,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.72069,
"c": 0.14701,
"h": 115.3
},
"luminance": 0.38547
}Semantic roles & 50–950 ramp
primary
#A2AF2F
secondary
#7D75C4
accent
#47E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B