#A2AF37#A2AF37
#A2AF37 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.142 H 115.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF37 |
|---|---|
| RGB | rgb(162, 175, 55) |
| HSL | hsl(67, 52%, 45%) |
| HSV | hsv(67, 69%, 69%) |
| CMYK | cmyk(7.4%, 0%, 68.6%, 31.4%) |
| CIE-LAB | lab(68.47, -20.23, 57.13) |
| CIE-LCH | lch(68.47, 60.61, 109.50°) |
| OKLab | oklab(72.13% -0.0608 0.1282) |
| OKLCH | oklch(72.13% 0.142 115.4) |
| XYZ | xyz(30.9206, 38.6177, 9.4388) |
| Luminance | 0.3862 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.13
Booger
#9BB53C
ΔE00 3.14
Pea Soup Green
#94A617
ΔE00 3.54
Barf Green
#94AC02
ΔE00 3.66
Sickly Green
#94B21C
ΔE00 3.75
Sick Green
#9DB92C
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF37 #4437AF
analogous
#AF8037 #A2AF37 #66AF37
triadic
#A2AF37 #37A2AF #AF37A2
tetradic
#A2AF37 #37AF80 #4437AF #AF3766
square
#A2AF37 #37AF80 #4437AF #AF3766
split-complementary
#A2AF37 #3766AF #8037AF
monochromatic
#4C521A #778028 #A2AF37 #BECB59 #D0D987
Accessibility & contrast
On white
2.41
#A2AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#A2AF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF37
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF37 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#BAA840
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af37; /* rgb */ color: rgb(162, 175, 55); /* oklch */ color: oklch(72.1% 0.142 115.4);
Tailwind
colors: {
custom: {
50: '#c1c675',
500: '#a2af37',
950: '#000000',
},
}SCSS
$custom: #a2af37; $custom-light: #c1c675; $custom-dark: #000000;
JSON
{
"hex": "#a2af37",
"rgb": {
"r": 162,
"g": 175,
"b": 55
},
"hsl": {
"h": 66.5,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.72127,
"c": 0.14184,
"h": 115.4
},
"luminance": 0.38617
}Semantic roles & 50–950 ramp
primary
#A2AF37
secondary
#867FC3
accent
#4CDC5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B