#A2B331#A2B331
#A2B331 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.150 H 116.8°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B331 |
|---|---|
| RGB | rgb(162, 179, 49) |
| HSL | hsl(68, 57%, 45%) |
| HSV | hsv(68, 73%, 70%) |
| CMYK | cmyk(9.5%, 0%, 72.6%, 29.8%) |
| CIE-LAB | lab(69.57, -22.55, 60.45) |
| CIE-LCH | lch(69.57, 64.52, 110.46°) |
| OKLab | oklab(73% -0.0678 0.1342) |
| OKLCH | oklch(73% 0.15 116.8) |
| XYZ | xyz(31.5755, 40.1437, 8.9903) |
| Luminance | 0.4014 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.50
Booger
#9BB53C
ΔE00 2.54
Puke Green
#9AAE07
ΔE00 2.63
Sickly Green
#94B21C
ΔE00 2.86
Booger Green
#96B403
ΔE00 3.13
Mustard Green
#A8B504
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B331 #4231B3
analogous
#B38331 #A2B331 #61B331
triadic
#A2B331 #31A2B3 #B331A2
tetradic
#A2B331 #31B383 #4231B3 #B33161
square
#A2B331 #31B383 #4231B3 #B33161
split-complementary
#A2B331 #3161B3 #8331B3
monochromatic
#4B5317 #778324 #A2B331 #BFD052 #D1DD82
Accessibility & contrast
On white
2.33
#A2B331 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#A2B331 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B331
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B331 | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b331; /* rgb */ color: rgb(162, 179, 49); /* oklch */ color: oklch(73.0% 0.150 116.8);
Tailwind
colors: {
custom: {
50: '#c1c972',
500: '#a2b331',
950: '#000000',
},
}SCSS
$custom: #a2b331; $custom-light: #c1c972; $custom-dark: #000000;
JSON
{
"hex": "#a2b331",
"rgb": {
"r": 162,
"g": 179,
"b": 49
},
"hsl": {
"h": 67.846,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.72996,
"c": 0.15031,
"h": 116.8
},
"luminance": 0.40143
}Semantic roles & 50–950 ramp
primary
#A2B331
secondary
#847AC6
accent
#48E05B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B