#A2B242#A2B242
#A2B242 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.9% C 0.137 H 116.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B242 |
|---|---|
| RGB | rgb(162, 178, 66) |
| HSL | hsl(69, 46%, 48%) |
| HSV | hsv(69, 63%, 70%) |
| CMYK | cmyk(9%, 0%, 62.9%, 30.2%) |
| CIE-LAB | lab(69.41, -21.02, 53.60) |
| CIE-LCH | lch(69.41, 57.57, 111.41°) |
| OKLab | oklab(72.91% -0.0619 0.1224) |
| OKLCH | oklch(72.91% 0.137 116.8) |
| XYZ | xyz(31.8047, 39.9159, 11.1823) |
| Luminance | 0.3992 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.18
Sick Green
#9DB92C
ΔE00 3.48
Avocado (survey)
#90B134
ΔE00 3.73
Sickly Green
#94B21C
ΔE00 3.90
Icky Green
#8FAE22
ΔE00 4.07
Puke Green
#9AAE07
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B242 #5242B2
analogous
#B28A42 #A2B242 #6AB242
triadic
#A2B242 #42A2B2 #B242A2
tetradic
#A2B242 #42B28A #5242B2 #B2426A
square
#A2B242 #42B28A #5242B2 #B2426A
split-complementary
#A2B242 #426AB2 #8A42B2
monochromatic
#515921 #798531 #A2B242 #BAC86A #CFD896
Accessibility & contrast
On white
2.34
#A2B242 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#A2B242 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B242
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B242 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B242 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA934
Deuteranopia (green-blind)
#BCAA4A
Tritanopia (blue-blind)
#ABA89B
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b242; /* rgb */ color: rgb(162, 178, 66); /* oklch */ color: oklch(72.9% 0.137 116.8);
Tailwind
colors: {
custom: {
50: '#c0c97c',
500: '#a2b242',
950: '#000000',
},
}SCSS
$custom: #a2b242; $custom-light: #c0c97c; $custom-dark: #000000;
JSON
{
"hex": "#a2b242",
"rgb": {
"r": 162,
"g": 178,
"b": 66
},
"hsl": {
"h": 68.571,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.72905,
"c": 0.13712,
"h": 116.8
},
"luminance": 0.39916
}Semantic roles & 50–950 ramp
primary
#A2B242
secondary
#948CC4
accent
#52D665
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C