#A2B042#A2B042
#A2B042 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.135 H 116.0°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B042 |
|---|---|
| RGB | rgb(162, 176, 66) |
| HSL | hsl(68, 45%, 47%) |
| HSV | hsv(68, 63%, 69%) |
| CMYK | cmyk(8%, 0%, 62.5%, 31%) |
| CIE-LAB | lab(68.84, -20.02, 52.99) |
| CIE-LCH | lch(68.84, 56.64, 110.69°) |
| OKLab | oklab(72.45% -0.0591 0.1211) |
| OKLCH | oklch(72.45% 0.135 116) |
| XYZ | xyz(31.4097, 39.1258, 11.0506) |
| Luminance | 0.3912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.73
Sick Green
#9DB92C
ΔE00 4.03
Avocado (survey)
#90B134
ΔE00 4.07
Sickly Green
#94B21C
ΔE00 4.22
Puke Green
#9AAE07
ΔE00 4.26
Icky Green
#8FAE22
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B042 #5042B0
analogous
#B08742 #A2B042 #6BB042
triadic
#A2B042 #42A2B0 #B042A2
tetradic
#A2B042 #42B087 #5042B0 #B0426B
square
#A2B042 #42B087 #5042B0 #B0426B
split-complementary
#A2B042 #426BB0 #8742B0
monochromatic
#505721 #798331 #A2B042 #BBC769 #CFD795
Accessibility & contrast
On white
2.38
#A2B042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#A2B042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B042
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B042 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA735
Deuteranopia (green-blind)
#BAA949
Tritanopia (blue-blind)
#ACA699
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2b042; /* rgb */ color: rgb(162, 176, 66); /* oklch */ color: oklch(72.5% 0.135 116.0);
Tailwind
colors: {
custom: {
50: '#c0c77b',
500: '#a2b042',
950: '#000000',
},
}SCSS
$custom: #a2b042; $custom-light: #c0c77b; $custom-dark: #000000;
JSON
{
"hex": "#a2b042",
"rgb": {
"r": 162,
"g": 176,
"b": 66
},
"hsl": {
"h": 67.636,
"s": 45.455,
"l": 47.451
},
"oklch": {
"l": 0.7245,
"c": 0.13472,
"h": 116
},
"luminance": 0.39125
}Semantic roles & 50–950 ramp
primary
#A2B042
secondary
#928BC3
accent
#53D563
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C