#A2B532#A2B532
#A2B532 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.5% C 0.152 H 117.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B532 |
|---|---|
| RGB | rgb(162, 181, 50) |
| HSL | hsl(69, 57%, 45%) |
| HSV | hsv(69, 72%, 71%) |
| CMYK | cmyk(10.5%, 0%, 72.4%, 29%) |
| CIE-LAB | lab(70.15, -23.49, 60.65) |
| CIE-LCH | lch(70.15, 65.04, 111.17°) |
| OKLab | oklab(73.46% -0.0703 0.1347) |
| OKLCH | oklch(73.46% 0.152 117.6) |
| XYZ | xyz(32.0006, 40.9598, 9.2372) |
| Luminance | 0.4096 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.93
Booger
#9BB53C
ΔE00 2.21
Sickly Green
#94B21C
ΔE00 2.71
Puke Green
#9AAE07
ΔE00 2.94
Booger Green
#96B403
ΔE00 2.94
Pea
#A4BF20
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B532 #4532B5
analogous
#B58632 #A2B532 #61B532
triadic
#A2B532 #32A2B5 #B532A2
tetradic
#A2B532 #32B586 #4532B5 #B53261
square
#A2B532 #32B586 #4532B5 #B53261
split-complementary
#A2B532 #3261B5 #8632B5
monochromatic
#4C5518 #778525 #A2B532 #BED054 #D0DD84
Accessibility & contrast
On white
2.28
#A2B532 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#A2B532 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B532
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B532 | 1.00 | 2.28 | 9.19 | 9.19 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB19
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#ACAB9C
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a2b532; /* rgb */ color: rgb(162, 181, 50); /* oklch */ color: oklch(73.5% 0.152 117.6);
Tailwind
colors: {
custom: {
50: '#c1cb73',
500: '#a2b532',
950: '#000000',
},
}SCSS
$custom: #a2b532; $custom-light: #c1cb73; $custom-dark: #000000;
JSON
{
"hex": "#a2b532",
"rgb": {
"r": 162,
"g": 181,
"b": 50
},
"hsl": {
"h": 68.702,
"s": 56.71,
"l": 45.294
},
"oklch": {
"l": 0.73461,
"c": 0.15198,
"h": 117.6
},
"luminance": 0.40959
}Semantic roles & 50–950 ramp
primary
#A2B532
secondary
#877CC7
accent
#48E05E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B