#A2AF34#A2AF34
#A2AF34 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.144 H 115.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF34 |
|---|---|
| RGB | rgb(162, 175, 52) |
| HSL | hsl(66, 54%, 45%) |
| HSV | hsv(66, 70%, 69%) |
| CMYK | cmyk(7.4%, 0%, 70.3%, 31.4%) |
| CIE-LAB | lab(68.45, -20.40, 58.26) |
| CIE-LCH | lch(68.45, 61.73, 109.30°) |
| OKLab | oklab(72.1% -0.0615 0.13) |
| OKLCH | oklch(72.1% 0.144 115.3) |
| XYZ | xyz(30.8509, 38.5898, 9.0715) |
| Luminance | 0.3859 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.86
Booger
#9BB53C
ΔE00 3.25
Pea Soup Green
#94A617
ΔE00 3.41
Barf Green
#94AC02
ΔE00 3.45
Sickly Green
#94B21C
ΔE00 3.65
Sick Green
#9DB92C
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF34 #4134AF
analogous
#AF7E34 #A2AF34 #65AF34
triadic
#A2AF34 #34A2AF #AF34A2
tetradic
#A2AF34 #34AF7E #4134AF #AF3465
square
#A2AF34 #34AF7E #4134AF #AF3465
split-complementary
#A2AF34 #3465AF #7E34AF
monochromatic
#4B5118 #768026 #A2AF34 #BFCC54 #D1DA83
Accessibility & contrast
On white
2.41
#A2AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#A2AF34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF34
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF34 | 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)
#BBA620
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af34; /* rgb */ color: rgb(162, 175, 52); /* oklch */ color: oklch(72.1% 0.144 115.3);
Tailwind
colors: {
custom: {
50: '#c1c673',
500: '#a2af34',
950: '#000000',
},
}SCSS
$custom: #a2af34; $custom-light: #c1c673; $custom-dark: #000000;
JSON
{
"hex": "#a2af34",
"rgb": {
"r": 162,
"g": 175,
"b": 52
},
"hsl": {
"h": 66.341,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.72104,
"c": 0.14387,
"h": 115.3
},
"luminance": 0.38589
}Semantic roles & 50–950 ramp
primary
#A2AF34
secondary
#837BC4
accent
#4ADE5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B