#A2B330#A2B330
#A2B330 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.151 H 116.8°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B330 |
|---|---|
| RGB | rgb(162, 179, 48) |
| HSL | hsl(68, 58%, 45%) |
| HSV | hsv(68, 73%, 70%) |
| CMYK | cmyk(9.5%, 0%, 73.2%, 29.8%) |
| CIE-LAB | lab(69.57, -22.60, 60.79) |
| CIE-LCH | lch(69.57, 64.86, 110.40°) |
| OKLab | oklab(72.99% -0.068 0.1347) |
| OKLCH | oklch(72.99% 0.151 116.8) |
| XYZ | xyz(31.5547, 40.1354, 8.8804) |
| Luminance | 0.4013 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.50
Puke Green
#9AAE07
ΔE00 2.56
Booger
#9BB53C
ΔE00 2.60
Sickly Green
#94B21C
ΔE00 2.84
Booger Green
#96B403
ΔE00 3.08
Mustard Green
#A8B504
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B330 #4130B3
analogous
#B38230 #A2B330 #61B330
triadic
#A2B330 #30A2B3 #B330A2
tetradic
#A2B330 #30B382 #4130B3 #B33061
square
#A2B330 #30B382 #4130B3 #B33061
split-complementary
#A2B330 #3061B3 #8230B3
monochromatic
#4B5216 #768323 #A2B330 #BFD050 #D1DD80
Accessibility & contrast
On white
2.33
#A2B330 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#A2B330 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B330
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B330 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B330 | 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)
#BFA916
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b330; /* rgb */ color: rgb(162, 179, 48); /* oklch */ color: oklch(73.0% 0.151 116.8);
Tailwind
colors: {
custom: {
50: '#c1c972',
500: '#a2b330',
950: '#000000',
},
}SCSS
$custom: #a2b330; $custom-light: #c1c972; $custom-dark: #000000;
JSON
{
"hex": "#a2b330",
"rgb": {
"r": 162,
"g": 179,
"b": 48
},
"hsl": {
"h": 67.786,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.7299,
"c": 0.1509,
"h": 116.8
},
"luminance": 0.40135
}Semantic roles & 50–950 ramp
primary
#A2B330
secondary
#8379C6
accent
#47E15B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B