#A2AF3A#A2AF3A
#A2AF3A is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.140 H 115.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF3A |
|---|---|
| RGB | rgb(162, 175, 58) |
| HSL | hsl(67, 50%, 46%) |
| HSV | hsv(67, 67%, 69%) |
| CMYK | cmyk(7.4%, 0%, 66.9%, 31.4%) |
| CIE-LAB | lab(68.50, -20.05, 55.96) |
| CIE-LCH | lch(68.50, 59.45, 109.71°) |
| OKLab | oklab(72.15% -0.06 0.1262) |
| OKLCH | oklch(72.15% 0.14 115.4) |
| XYZ | xyz(30.9947, 38.6473, 9.8291) |
| Luminance | 0.3865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.06
Puke Green
#9AAE07
ΔE00 3.43
Pea Soup Green
#94A617
ΔE00 3.71
Sickly Green
#94B21C
ΔE00 3.89
Barf Green
#94AC02
ΔE00 3.89
Sick Green
#9DB92C
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF3A #473AAF
analogous
#AF813A #A2AF3A #67AF3A
triadic
#A2AF3A #3AA2AF #AF3AA2
tetradic
#A2AF3A #3AAF81 #473AAF #AF3A67
square
#A2AF3A #3AAF81 #473AAF #AF3A67
split-complementary
#A2AF3A #3A67AF #813AAF
monochromatic
#4D531C #77812B #A2AF3A #BDC95D #D0D98B
Accessibility & contrast
On white
2.41
#A2AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#A2AF3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF3A
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF3A | 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)
#BBA629
Deuteranopia (green-blind)
#BAA842
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af3a; /* rgb */ color: rgb(162, 175, 58); /* oklch */ color: oklch(72.2% 0.140 115.4);
Tailwind
colors: {
custom: {
50: '#c0c677',
500: '#a2af3a',
950: '#000000',
},
}SCSS
$custom: #a2af3a; $custom-light: #c0c677; $custom-dark: #000000;
JSON
{
"hex": "#a2af3a",
"rgb": {
"r": 162,
"g": 175,
"b": 58
},
"hsl": {
"h": 66.667,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.72151,
"c": 0.13971,
"h": 115.4
},
"luminance": 0.38647
}Semantic roles & 50–950 ramp
primary
#A2AF3A
secondary
#8982C3
accent
#4EDA5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B