#A2AF3C#A2AF3C
#A2AF3C is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.138 H 115.5°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF3C |
|---|---|
| RGB | rgb(162, 175, 60) |
| HSL | hsl(67, 49%, 46%) |
| HSV | hsv(67, 66%, 69%) |
| CMYK | cmyk(7.4%, 0%, 65.7%, 31.4%) |
| CIE-LAB | lab(68.51, -19.92, 55.17) |
| CIE-LCH | lch(68.51, 58.65, 109.86°) |
| OKLab | oklab(72.17% -0.0594 0.1248) |
| OKLCH | oklch(72.17% 0.138 115.5) |
| XYZ | xyz(31.0466, 38.6680, 10.1023) |
| Luminance | 0.3867 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.02
Puke Green
#9AAE07
ΔE00 3.64
Pea Soup Green
#94A617
ΔE00 3.84
Sick Green
#9DB92C
ΔE00 3.99
Sickly Green
#94B21C
ΔE00 4.00
Barf Green
#94AC02
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF3C #493CAF
analogous
#AF823C #A2AF3C #68AF3C
triadic
#A2AF3C #3CA2AF #AF3CA2
tetradic
#A2AF3C #3CAF82 #493CAF #AF3C68
square
#A2AF3C #3CAF82 #493CAF #AF3C68
split-complementary
#A2AF3C #3C68AF #823CAF
monochromatic
#4E541D #78812C #A2AF3C #BDC860 #D0D88D
Accessibility & contrast
On white
2.40
#A2AF3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#A2AF3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF3C
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF3C | 1.00 | 2.40 | 8.73 | 8.73 |
| #FFFFFF | 2.40 | 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)
#BBA62C
Deuteranopia (green-blind)
#BAA844
Tritanopia (blue-blind)
#ACA598
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af3c; /* rgb */ color: rgb(162, 175, 60); /* oklch */ color: oklch(72.2% 0.138 115.5);
Tailwind
colors: {
custom: {
50: '#c0c678',
500: '#a2af3c',
950: '#000000',
},
}SCSS
$custom: #a2af3c; $custom-light: #c0c678; $custom-dark: #000000;
JSON
{
"hex": "#a2af3c",
"rgb": {
"r": 162,
"g": 175,
"b": 60
},
"hsl": {
"h": 66.783,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.72168,
"c": 0.13823,
"h": 115.5
},
"luminance": 0.38668
}Semantic roles & 50–950 ramp
primary
#A2AF3C
secondary
#8B84C3
accent
#4FD85F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B