#A2B241#A2B241
#A2B241 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.9% C 0.138 H 116.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B241 |
|---|---|
| RGB | rgb(162, 178, 65) |
| HSL | hsl(68, 47%, 48%) |
| HSV | hsv(68, 63%, 70%) |
| CMYK | cmyk(9%, 0%, 63.5%, 30.2%) |
| CIE-LAB | lab(69.40, -21.09, 54.02) |
| CIE-LCH | lch(69.40, 57.99, 111.33°) |
| OKLab | oklab(72.9% -0.0622 0.1231) |
| OKLCH | oklch(72.9% 0.138 116.8) |
| XYZ | xyz(31.7755, 39.9042, 11.0284) |
| Luminance | 0.3990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.16
Sick Green
#9DB92C
ΔE00 3.41
Avocado (survey)
#90B134
ΔE00 3.73
Sickly Green
#94B21C
ΔE00 3.82
Icky Green
#8FAE22
ΔE00 4.02
Puke Green
#9AAE07
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B241 #5141B2
analogous
#B28A41 #A2B241 #69B241
triadic
#A2B241 #41A2B2 #B241A2
tetradic
#A2B241 #41B28A #5141B2 #B24169
square
#A2B241 #41B28A #5141B2 #B24169
split-complementary
#A2B241 #4169B2 #8A41B2
monochromatic
#505820 #798531 #A2B241 #BAC868 #CFD895
Accessibility & contrast
On white
2.34
#A2B241 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#A2B241 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B241
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B241 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B241 | 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)
#BEA933
Deuteranopia (green-blind)
#BCAA49
Tritanopia (blue-blind)
#ACA89B
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b241; /* rgb */ color: rgb(162, 178, 65); /* oklch */ color: oklch(72.9% 0.138 116.8);
Tailwind
colors: {
custom: {
50: '#c0c97b',
500: '#a2b241',
950: '#000000',
},
}SCSS
$custom: #a2b241; $custom-light: #c0c97b; $custom-dark: #000000;
JSON
{
"hex": "#a2b241",
"rgb": {
"r": 162,
"g": 178,
"b": 65
},
"hsl": {
"h": 68.496,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.72896,
"c": 0.13792,
"h": 116.8
},
"luminance": 0.39904
}Semantic roles & 50–950 ramp
primary
#A2B241
secondary
#938BC4
accent
#52D664
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C