#A2B240#A2B240
#A2B240 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.9% C 0.139 H 116.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B240 |
|---|---|
| RGB | rgb(162, 178, 64) |
| HSL | hsl(68, 47%, 47%) |
| HSV | hsv(68, 64%, 70%) |
| CMYK | cmyk(9%, 0%, 64%, 30.2%) |
| CIE-LAB | lab(69.39, -21.16, 54.43) |
| CIE-LCH | lch(69.39, 58.40, 111.24°) |
| OKLab | oklab(72.89% -0.0625 0.1239) |
| OKLCH | oklch(72.89% 0.139 116.8) |
| XYZ | xyz(31.7468, 39.8927, 10.8771) |
| Luminance | 0.3989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.16
Sick Green
#9DB92C
ΔE00 3.34
Avocado (survey)
#90B134
ΔE00 3.72
Sickly Green
#94B21C
ΔE00 3.74
Icky Green
#8FAE22
ΔE00 3.97
Puke Green
#9AAE07
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B240 #5040B2
analogous
#B28940 #A2B240 #69B240
triadic
#A2B240 #40A2B2 #B240A2
tetradic
#A2B240 #40B289 #5040B2 #B24069
square
#A2B240 #40B289 #5040B2 #B24069
split-complementary
#A2B240 #4069B2 #8940B2
monochromatic
#505820 #798530 #A2B240 #BBC867 #CFD894
Accessibility & contrast
On white
2.34
#A2B240 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#A2B240 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B240
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B240 | 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)
#BEA931
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#ACA89A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b240; /* rgb */ color: rgb(162, 178, 64); /* oklch */ color: oklch(72.9% 0.139 116.8);
Tailwind
colors: {
custom: {
50: '#c0c97a',
500: '#a2b240',
950: '#000000',
},
}SCSS
$custom: #a2b240; $custom-light: #c0c97a; $custom-dark: #000000;
JSON
{
"hex": "#a2b240",
"rgb": {
"r": 162,
"g": 178,
"b": 64
},
"hsl": {
"h": 68.421,
"s": 47.107,
"l": 47.451
},
"oklch": {
"l": 0.72887,
"c": 0.13871,
"h": 116.8
},
"luminance": 0.39892
}Semantic roles & 50–950 ramp
primary
#A2B240
secondary
#928AC4
accent
#51D764
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C