#A2B142#A2B142
#A2B142 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.136 H 116.4°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B142 |
|---|---|
| RGB | rgb(162, 177, 66) |
| HSL | hsl(68, 46%, 48%) |
| HSV | hsv(68, 63%, 69%) |
| CMYK | cmyk(8.5%, 0%, 62.7%, 30.6%) |
| CIE-LAB | lab(69.13, -20.52, 53.29) |
| CIE-LCH | lch(69.13, 57.11, 111.06°) |
| OKLab | oklab(72.68% -0.0605 0.1217) |
| OKLCH | oklch(72.68% 0.136 116.4) |
| XYZ | xyz(31.6064, 39.5194, 11.1162) |
| Luminance | 0.3952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.45
Sick Green
#9DB92C
ΔE00 3.75
Avocado (survey)
#90B134
ΔE00 3.89
Sickly Green
#94B21C
ΔE00 4.05
Icky Green
#8FAE22
ΔE00 4.16
Puke Green
#9AAE07
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B142 #5142B1
analogous
#B18842 #A2B142 #6BB142
triadic
#A2B142 #42A2B1 #B142A2
tetradic
#A2B142 #42B188 #5142B1 #B1426B
square
#A2B142 #42B188 #5142B1 #B1426B
split-complementary
#A2B142 #426BB1 #8842B1
monochromatic
#505821 #798431 #A2B142 #BAC769 #CFD896
Accessibility & contrast
On white
2.36
#A2B142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#A2B142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B142
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B142 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA834
Deuteranopia (green-blind)
#BBAA49
Tritanopia (blue-blind)
#ACA79A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b142; /* rgb */ color: rgb(162, 177, 66); /* oklch */ color: oklch(72.7% 0.136 116.4);
Tailwind
colors: {
custom: {
50: '#c0c87b',
500: '#a2b142',
950: '#000000',
},
}SCSS
$custom: #a2b142; $custom-light: #c0c87b; $custom-dark: #000000;
JSON
{
"hex": "#a2b142",
"rgb": {
"r": 162,
"g": 177,
"b": 66
},
"hsl": {
"h": 68.108,
"s": 45.679,
"l": 47.647
},
"oklch": {
"l": 0.72678,
"c": 0.13592,
"h": 116.4
},
"luminance": 0.39519
}Semantic roles & 50–950 ramp
primary
#A2B142
secondary
#938BC3
accent
#52D564
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C