#A2AF39#A2AF39
#A2AF39 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.140 H 115.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF39 |
|---|---|
| RGB | rgb(162, 175, 57) |
| HSL | hsl(67, 51%, 45%) |
| HSV | hsv(67, 67%, 69%) |
| CMYK | cmyk(7.4%, 0%, 67.4%, 31.4%) |
| CIE-LAB | lab(68.49, -20.11, 56.36) |
| CIE-LCH | lch(68.49, 59.84, 109.64°) |
| OKLab | oklab(72.14% -0.0602 0.1269) |
| OKLCH | oklch(72.14% 0.14 115.4) |
| XYZ | xyz(30.9695, 38.6372, 9.6964) |
| Luminance | 0.3864 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.08
Puke Green
#9AAE07
ΔE00 3.33
Pea Soup Green
#94A617
ΔE00 3.65
Barf Green
#94AC02
ΔE00 3.81
Sickly Green
#94B21C
ΔE00 3.84
Sick Green
#9DB92C
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF39 #4639AF
analogous
#AF8139 #A2AF39 #67AF39
triadic
#A2AF39 #39A2AF #AF39A2
tetradic
#A2AF39 #39AF81 #4639AF #AF3967
square
#A2AF39 #39AF81 #4639AF #AF3967
split-complementary
#A2AF39 #3967AF #8139AF
monochromatic
#4D531B #77812A #A2AF39 #BECA5B #D0D98A
Accessibility & contrast
On white
2.41
#A2AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#A2AF39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF39
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF39 | 1.00 | 2.41 | 8.73 | 8.73 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA628
Deuteranopia (green-blind)
#BAA842
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af39; /* rgb */ color: rgb(162, 175, 57); /* oklch */ color: oklch(72.1% 0.140 115.4);
Tailwind
colors: {
custom: {
50: '#c0c676',
500: '#a2af39',
950: '#000000',
},
}SCSS
$custom: #a2af39; $custom-light: #c0c676; $custom-dark: #000000;
JSON
{
"hex": "#a2af39",
"rgb": {
"r": 162,
"g": 175,
"b": 57
},
"hsl": {
"h": 66.61,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.72143,
"c": 0.14043,
"h": 115.4
},
"luminance": 0.38637
}Semantic roles & 50–950 ramp
primary
#A2AF39
secondary
#8881C3
accent
#4DDA5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B