#A2AF36#A2AF36
#A2AF36 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.143 H 115.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF36 |
|---|---|
| RGB | rgb(162, 175, 54) |
| HSL | hsl(66, 53%, 45%) |
| HSV | hsv(66, 69%, 69%) |
| CMYK | cmyk(7.4%, 0%, 69.1%, 31.4%) |
| CIE-LAB | lab(68.47, -20.29, 57.51) |
| CIE-LCH | lch(68.47, 60.98, 109.43°) |
| OKLab | oklab(72.12% -0.061 0.1288) |
| OKLCH | oklch(72.12% 0.143 115.4) |
| XYZ | xyz(30.8969, 38.6082, 9.3138) |
| Luminance | 0.3861 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.04
Booger
#9BB53C
ΔE00 3.18
Pea Soup Green
#94A617
ΔE00 3.50
Barf Green
#94AC02
ΔE00 3.59
Sickly Green
#94B21C
ΔE00 3.71
Sick Green
#9DB92C
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF36 #4336AF
analogous
#AF7F36 #A2AF36 #66AF36
triadic
#A2AF36 #36A2AF #AF36A2
tetradic
#A2AF36 #36AF7F #4336AF #AF3666
square
#A2AF36 #36AF7F #4336AF #AF3666
split-complementary
#A2AF36 #3666AF #7F36AF
monochromatic
#4B5119 #778028 #A2AF36 #BFCB57 #D1DA86
Accessibility & contrast
On white
2.41
#A2AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#A2AF36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF36
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF36 | 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)
#BBA623
Deuteranopia (green-blind)
#BAA83F
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af36; /* rgb */ color: rgb(162, 175, 54); /* oklch */ color: oklch(72.1% 0.143 115.4);
Tailwind
colors: {
custom: {
50: '#c1c674',
500: '#a2af36',
950: '#000000',
},
}SCSS
$custom: #a2af36; $custom-light: #c1c674; $custom-dark: #000000;
JSON
{
"hex": "#a2af36",
"rgb": {
"r": 162,
"g": 175,
"b": 54
},
"hsl": {
"h": 66.446,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.72119,
"c": 0.14253,
"h": 115.4
},
"luminance": 0.38608
}Semantic roles & 50–950 ramp
primary
#A2AF36
secondary
#857DC3
accent
#4CDC5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B