#A2AF4D#A2AF4D
#A2AF4D is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.124 H 115.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF4D |
|---|---|
| RGB | rgb(162, 175, 77) |
| HSL | hsl(68, 39%, 49%) |
| HSV | hsv(68, 56%, 69%) |
| CMYK | cmyk(7.4%, 0%, 56%, 31.4%) |
| CIE-LAB | lab(68.66, -18.65, 47.84) |
| CIE-LCH | lch(68.66, 51.35, 111.30°) |
| OKLab | oklab(72.34% -0.0541 0.1115) |
| OKLCH | oklch(72.34% 0.124 115.9) |
| XYZ | xyz(31.5704, 38.8775, 12.8607) |
| Luminance | 0.3888 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.58
Avocado (survey)
#90B134
ΔE00 4.69
Light Olive Green
#A4BE5C
ΔE00 4.71
Light Olive
#ACBF69
ΔE00 5.13
Icky Green
#8FAE22
ΔE00 5.27
Sick Green
#9DB92C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF4D #5A4DAF
analogous
#AF8B4D #A2AF4D #71AF4D
triadic
#A2AF4D #4DA2AF #AF4DA2
tetradic
#A2AF4D #4DAF8B #5A4DAF #AF4D71
square
#A2AF4D #4DAF8B #5A4DAF #AF4D71
split-complementary
#A2AF4D #4D71AF #8B4DAF
monochromatic
#535A28 #7B853A #A2AF4D #B9C376 #CFD6A1
Accessibility & contrast
On white
2.39
#A2AF4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#A2AF4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF4D
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF4D | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA743
Deuteranopia (green-blind)
#B9A853
Tritanopia (blue-blind)
#ABA699
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af4d; /* rgb */ color: rgb(162, 175, 77); /* oklch */ color: oklch(72.3% 0.124 115.9);
Tailwind
colors: {
custom: {
50: '#c0c682',
500: '#a2af4d',
950: '#000000',
},
}SCSS
$custom: #a2af4d; $custom-light: #c0c682; $custom-dark: #000000;
JSON
{
"hex": "#a2af4d",
"rgb": {
"r": 162,
"g": 175,
"b": 77
},
"hsl": {
"h": 67.959,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.72339,
"c": 0.12392,
"h": 115.9
},
"luminance": 0.38877
}Semantic roles & 50–950 ramp
primary
#A2AF4D
secondary
#9B95C3
accent
#59CF69
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C