#A2B031#A2B031
#A2B031 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.3% C 0.147 H 115.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B031 |
|---|---|
| RGB | rgb(162, 176, 49) |
| HSL | hsl(67, 56%, 44%) |
| HSV | hsv(67, 72%, 69%) |
| CMYK | cmyk(8%, 0%, 72.2%, 31%) |
| CIE-LAB | lab(68.72, -21.06, 59.62) |
| CIE-LCH | lch(68.72, 63.23, 109.46°) |
| OKLab | oklab(72.31% -0.0637 0.1324) |
| OKLCH | oklch(72.31% 0.147 115.7) |
| XYZ | xyz(30.9808, 38.9543, 8.7920) |
| Luminance | 0.3895 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.55
Booger
#9BB53C
ΔE00 3.14
Barf Green
#94AC02
ΔE00 3.23
Sickly Green
#94B21C
ΔE00 3.36
Mustard Green
#A8B504
ΔE00 3.39
Sick Green
#9DB92C
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B031 #3F31B0
analogous
#B07F31 #A2B031 #63B031
triadic
#A2B031 #31A2B0 #B031A2
tetradic
#A2B031 #31B07F #3F31B0 #B03163
square
#A2B031 #31B07F #3F31B0 #B03163
split-complementary
#A2B031 #3163B0 #7F31B0
monochromatic
#4A5016 #768024 #A2B031 #C0CE50 #D1DC80
Accessibility & contrast
On white
2.39
#A2B031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#A2B031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B031
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B031 | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA719
Deuteranopia (green-blind)
#BBA93B
Tritanopia (blue-blind)
#ACA697
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2b031; /* rgb */ color: rgb(162, 176, 49); /* oklch */ color: oklch(72.3% 0.147 115.7);
Tailwind
colors: {
custom: {
50: '#c1c772',
500: '#a2b031',
950: '#000000',
},
}SCSS
$custom: #a2b031; $custom-light: #c1c772; $custom-dark: #000000;
JSON
{
"hex": "#a2b031",
"rgb": {
"r": 162,
"g": 176,
"b": 49
},
"hsl": {
"h": 66.614,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.72311,
"c": 0.14691,
"h": 115.7
},
"luminance": 0.38954
}Semantic roles & 50–950 ramp
primary
#A2B031
secondary
#8178C5
accent
#48E059
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B