#A2AF3B#A2AF3B
#A2AF3B is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.139 H 115.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF3B |
|---|---|
| RGB | rgb(162, 175, 59) |
| HSL | hsl(67, 50%, 46%) |
| HSV | hsv(67, 66%, 69%) |
| CMYK | cmyk(7.4%, 0%, 66.3%, 31.4%) |
| CIE-LAB | lab(68.50, -19.99, 55.57) |
| CIE-LCH | lch(68.50, 59.05, 109.78°) |
| OKLab | oklab(72.16% -0.0597 0.1255) |
| OKLCH | oklch(72.16% 0.139 115.4) |
| XYZ | xyz(31.0204, 38.6576, 9.9644) |
| Luminance | 0.3866 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.03
Puke Green
#9AAE07
ΔE00 3.53
Pea Soup Green
#94A617
ΔE00 3.78
Sickly Green
#94B21C
ΔE00 3.94
Sick Green
#9DB92C
ΔE00 3.95
Barf Green
#94AC02
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF3B #483BAF
analogous
#AF823B #A2AF3B #68AF3B
triadic
#A2AF3B #3BA2AF #AF3BA2
tetradic
#A2AF3B #3BAF82 #483BAF #AF3B68
square
#A2AF3B #3BAF82 #483BAF #AF3B68
split-complementary
#A2AF3B #3B68AF #823BAF
monochromatic
#4D531C #78812C #A2AF3B #BDC95E #D0D88C
Accessibility & contrast
On white
2.41
#A2AF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#A2AF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF3B
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF3B | 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)
#BBA62B
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af3b; /* rgb */ color: rgb(162, 175, 59); /* oklch */ color: oklch(72.2% 0.139 115.4);
Tailwind
colors: {
custom: {
50: '#c0c677',
500: '#a2af3b',
950: '#000000',
},
}SCSS
$custom: #a2af3b; $custom-light: #c0c677; $custom-dark: #000000;
JSON
{
"hex": "#a2af3b",
"rgb": {
"r": 162,
"g": 175,
"b": 59
},
"hsl": {
"h": 66.724,
"s": 49.573,
"l": 45.882
},
"oklch": {
"l": 0.7216,
"c": 0.13898,
"h": 115.4
},
"luminance": 0.38657
}Semantic roles & 50–950 ramp
primary
#A2AF3B
secondary
#8A83C3
accent
#4FD95E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B