#A2B530#A2B530
#A2B530 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.153 H 117.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B530 |
|---|---|
| RGB | rgb(162, 181, 48) |
| HSL | hsl(69, 58%, 45%) |
| HSV | hsv(69, 73%, 71%) |
| CMYK | cmyk(10.5%, 0%, 73.5%, 29%) |
| CIE-LAB | lab(70.14, -23.59, 61.34) |
| CIE-LCH | lch(70.14, 65.72, 111.04°) |
| OKLab | oklab(73.45% -0.0708 0.1359) |
| OKLCH | oklch(73.45% 0.153 117.5) |
| XYZ | xyz(31.9584, 40.9429, 9.0149) |
| Luminance | 0.4094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.92
Booger
#9BB53C
ΔE00 2.35
Sickly Green
#94B21C
ΔE00 2.67
Puke Green
#9AAE07
ΔE00 2.80
Booger Green
#96B403
ΔE00 2.83
Pea
#A4BF20
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B530 #4330B5
analogous
#B58530 #A2B530 #60B530
triadic
#A2B530 #30A2B5 #B530A2
tetradic
#A2B530 #30B585 #4330B5 #B53060
square
#A2B530 #30B585 #4330B5 #B53060
split-complementary
#A2B530 #3060B5 #8530B5
monochromatic
#4B5416 #778523 #A2B530 #BFD151 #D1DE82
Accessibility & contrast
On white
2.29
#A2B530 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#A2B530 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B530
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B530 | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 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)
#C1AB15
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#ACAB9C
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a2b530; /* rgb */ color: rgb(162, 181, 48); /* oklch */ color: oklch(73.4% 0.153 117.5);
Tailwind
colors: {
custom: {
50: '#c1cb72',
500: '#a2b530',
950: '#000000',
},
}SCSS
$custom: #a2b530; $custom-light: #c1cb72; $custom-dark: #000000;
JSON
{
"hex": "#a2b530",
"rgb": {
"r": 162,
"g": 181,
"b": 48
},
"hsl": {
"h": 68.571,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.73448,
"c": 0.15318,
"h": 117.5
},
"luminance": 0.40943
}Semantic roles & 50–950 ramp
primary
#A2B530
secondary
#857AC7
accent
#46E15D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B