#A2B230#A2B230
#A2B230 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.150 H 116.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B230 |
|---|---|
| RGB | rgb(162, 178, 48) |
| HSL | hsl(67, 58%, 44%) |
| HSV | hsv(67, 73%, 70%) |
| CMYK | cmyk(9%, 0%, 73%, 30.2%) |
| CIE-LAB | lab(69.28, -22.11, 60.52) |
| CIE-LCH | lch(69.28, 64.43, 110.07°) |
| OKLab | oklab(72.76% -0.0666 0.1341) |
| OKLCH | oklch(72.76% 0.15 116.4) |
| XYZ | xyz(31.3550, 39.7360, 8.8138) |
| Luminance | 0.3974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.49
Booger
#9BB53C
ΔE00 2.78
Sick Green
#9DB92C
ΔE00 2.80
Sickly Green
#94B21C
ΔE00 2.98
Mustard Green
#A8B504
ΔE00 3.18
Barf Green
#94AC02
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B230 #4030B2
analogous
#B28130 #A2B230 #61B230
triadic
#A2B230 #30A2B2 #B230A2
tetradic
#A2B230 #30B281 #4030B2 #B23061
square
#A2B230 #30B281 #4030B2 #B23061
split-complementary
#A2B230 #3061B2 #8130B2
monochromatic
#4A5216 #768223 #A2B230 #C0D050 #D1DD80
Accessibility & contrast
On white
2.35
#A2B230 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#A2B230 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B230
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B230 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B230 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA916
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b230; /* rgb */ color: rgb(162, 178, 48); /* oklch */ color: oklch(72.8% 0.150 116.4);
Tailwind
colors: {
custom: {
50: '#c1c872',
500: '#a2b230',
950: '#000000',
},
}SCSS
$custom: #a2b230; $custom-light: #c1c872; $custom-dark: #000000;
JSON
{
"hex": "#a2b230",
"rgb": {
"r": 162,
"g": 178,
"b": 48
},
"hsl": {
"h": 67.385,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.72761,
"c": 0.14978,
"h": 116.4
},
"luminance": 0.39736
}Semantic roles & 50–950 ramp
primary
#A2B230
secondary
#8278C6
accent
#47E15A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B