#A2B534#A2B534
#A2B534 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.5% C 0.151 H 117.6°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B534 |
|---|---|
| RGB | rgb(162, 181, 52) |
| HSL | hsl(69, 55%, 46%) |
| HSV | hsv(69, 71%, 71%) |
| CMYK | cmyk(10.5%, 0%, 71.3%, 29%) |
| CIE-LAB | lab(70.16, -23.38, 59.94) |
| CIE-LCH | lch(70.16, 64.34, 111.31°) |
| OKLab | oklab(73.47% -0.0698 0.1336) |
| OKLCH | oklch(73.47% 0.151 117.6) |
| XYZ | xyz(32.0447, 40.9774, 9.4695) |
| Luminance | 0.4098 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.96
Booger
#9BB53C
ΔE00 2.07
Sickly Green
#94B21C
ΔE00 2.76
Booger Green
#96B403
ΔE00 3.07
Puke Green
#9AAE07
ΔE00 3.08
Pea
#A4BF20
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B534 #4734B5
analogous
#B58734 #A2B534 #61B534
triadic
#A2B534 #34A2B5 #B534A2
tetradic
#A2B534 #34B587 #4734B5 #B53461
square
#A2B534 #34B587 #4734B5 #B53461
split-complementary
#A2B534 #3461B5 #8734B5
monochromatic
#4D5619 #778526 #A2B534 #BDCF57 #D0DC87
Accessibility & contrast
On white
2.28
#A2B534 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#A2B534 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B534
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B534 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B534 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB1D
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#ACAB9C
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a2b534; /* rgb */ color: rgb(162, 181, 52); /* oklch */ color: oklch(73.5% 0.151 117.6);
Tailwind
colors: {
custom: {
50: '#c1cb74',
500: '#a2b534',
950: '#000000',
},
}SCSS
$custom: #a2b534; $custom-light: #c1cb74; $custom-dark: #000000;
JSON
{
"hex": "#a2b534",
"rgb": {
"r": 162,
"g": 181,
"b": 52
},
"hsl": {
"h": 68.837,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.73475,
"c": 0.15073,
"h": 117.6
},
"luminance": 0.40977
}Semantic roles & 50–950 ramp
primary
#A2B534
secondary
#897FC6
accent
#49DF5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B