#A2AF3F#A2AF3F
#A2AF3F is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.136 H 115.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF3F |
|---|---|
| RGB | rgb(162, 175, 63) |
| HSL | hsl(67, 47%, 47%) |
| HSV | hsv(67, 64%, 69%) |
| CMYK | cmyk(7.4%, 0%, 64%, 31.4%) |
| CIE-LAB | lab(68.53, -19.72, 53.94) |
| CIE-LCH | lch(68.53, 57.43, 110.08°) |
| OKLab | oklab(72.19% -0.0585 0.1227) |
| OKLCH | oklch(72.19% 0.136 115.5) |
| XYZ | xyz(31.1282, 38.7007, 10.5318) |
| Luminance | 0.3870 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.00
Puke Green
#9AAE07
ΔE00 3.97
Pea Soup Green
#94A617
ΔE00 4.06
Sick Green
#9DB92C
ΔE00 4.14
Sickly Green
#94B21C
ΔE00 4.19
Avocado (survey)
#90B134
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF3F #4C3FAF
analogous
#AF843F #A2AF3F #6AAF3F
triadic
#A2AF3F #3FA2AF #AF3FA2
tetradic
#A2AF3F #3FAF84 #4C3FAF #AF3F6A
square
#A2AF3F #3FAF84 #4C3FAF #AF3F6A
split-complementary
#A2AF3F #3F6AAF #843FAF
monochromatic
#4F551F #78822F #A2AF3F #BCC764 #CFD791
Accessibility & contrast
On white
2.40
#A2AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#A2AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF3F
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF3F | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA631
Deuteranopia (green-blind)
#BAA847
Tritanopia (blue-blind)
#ACA598
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af3f; /* rgb */ color: rgb(162, 175, 63); /* oklch */ color: oklch(72.2% 0.136 115.5);
Tailwind
colors: {
custom: {
50: '#c0c67a',
500: '#a2af3f',
950: '#000000',
},
}SCSS
$custom: #a2af3f; $custom-light: #c0c67a; $custom-dark: #000000;
JSON
{
"hex": "#a2af3f",
"rgb": {
"r": 162,
"g": 175,
"b": 63
},
"hsl": {
"h": 66.964,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.72195,
"c": 0.13593,
"h": 115.5
},
"luminance": 0.387
}Semantic roles & 50–950 ramp
primary
#A2AF3F
secondary
#8E87C3
accent
#51D761
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B