#A2B332#A2B332
#A2B332 is a light, vivid yellow. Relative luminance 0.402; 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 | #A2B332 |
|---|---|
| RGB | rgb(162, 179, 50) |
| HSL | hsl(68, 56%, 45%) |
| HSV | hsv(68, 72%, 70%) |
| CMYK | cmyk(9.5%, 0%, 72.1%, 29.8%) |
| CIE-LAB | lab(69.58, -22.50, 60.10) |
| CIE-LCH | lch(69.58, 64.17, 110.53°) |
| OKLab | oklab(73% -0.0676 0.1336) |
| OKLCH | oklch(73% 0.15 116.8) |
| XYZ | xyz(31.5969, 40.1523, 9.1026) |
| Luminance | 0.4015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.47
Sick Green
#9DB92C
ΔE00 2.51
Puke Green
#9AAE07
ΔE00 2.71
Sickly Green
#94B21C
ΔE00 2.88
Booger Green
#96B403
ΔE00 3.19
Mustard Green
#A8B504
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B332 #4332B3
analogous
#B38432 #A2B332 #61B332
triadic
#A2B332 #32A2B3 #B332A2
tetradic
#A2B332 #32B384 #4332B3 #B33261
square
#A2B332 #32B384 #4332B3 #B33261
split-complementary
#A2B332 #3261B3 #8432B3
monochromatic
#4B5317 #778325 #A2B332 #BFCF53 #D1DC83
Accessibility & contrast
On white
2.33
#A2B332 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#A2B332 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B332
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B332 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B332 | 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)
#BFA91A
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b332; /* rgb */ color: rgb(162, 179, 50); /* oklch */ color: oklch(73.0% 0.150 116.8);
Tailwind
colors: {
custom: {
50: '#c1c973',
500: '#a2b332',
950: '#000000',
},
}SCSS
$custom: #a2b332; $custom-light: #c1c973; $custom-dark: #000000;
JSON
{
"hex": "#a2b332",
"rgb": {
"r": 162,
"g": 179,
"b": 50
},
"hsl": {
"h": 67.907,
"s": 56.332,
"l": 44.902
},
"oklch": {
"l": 0.73003,
"c": 0.14969,
"h": 116.8
},
"luminance": 0.40152
}Semantic roles & 50–950 ramp
primary
#A2B332
secondary
#857BC6
accent
#48E05C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B