#A2AF33#A2AF33
#A2AF33 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.145 H 115.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF33 |
|---|---|
| RGB | rgb(162, 175, 51) |
| HSL | hsl(66, 55%, 44%) |
| HSV | hsv(66, 71%, 69%) |
| CMYK | cmyk(7.4%, 0%, 70.9%, 31.4%) |
| CIE-LAB | lab(68.45, -20.46, 58.62) |
| CIE-LCH | lch(68.45, 62.09, 109.23°) |
| OKLab | oklab(72.1% -0.0618 0.1306) |
| OKLCH | oklch(72.1% 0.145 115.3) |
| XYZ | xyz(30.8286, 38.5808, 8.9542) |
| Luminance | 0.3858 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.77
Booger
#9BB53C
ΔE00 3.30
Pea Soup Green
#94A617
ΔE00 3.37
Barf Green
#94AC02
ΔE00 3.39
Sickly Green
#94B21C
ΔE00 3.62
Mustard Green
#A8B504
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF33 #4033AF
analogous
#AF7E33 #A2AF33 #64AF33
triadic
#A2AF33 #33A2AF #AF33A2
tetradic
#A2AF33 #33AF7E #4033AF #AF3364
square
#A2AF33 #33AF7E #4033AF #AF3364
split-complementary
#A2AF33 #3364AF #7E33AF
monochromatic
#4A5017 #768025 #A2AF33 #C0CD52 #D1DB82
Accessibility & contrast
On white
2.41
#A2AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#A2AF33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF33
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF33 | 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)
#BBA61E
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af33; /* rgb */ color: rgb(162, 175, 51); /* oklch */ color: oklch(72.1% 0.145 115.3);
Tailwind
colors: {
custom: {
50: '#c1c673',
500: '#a2af33',
950: '#000000',
},
}SCSS
$custom: #a2af33; $custom-light: #c1c673; $custom-dark: #000000;
JSON
{
"hex": "#a2af33",
"rgb": {
"r": 162,
"g": 175,
"b": 51
},
"hsl": {
"h": 66.29,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.72097,
"c": 0.14452,
"h": 115.3
},
"luminance": 0.3858
}Semantic roles & 50–950 ramp
primary
#A2AF33
secondary
#827AC4
accent
#4ADE59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B