#A2B140#A2B140
#A2B140 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.138 H 116.4°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B140 |
|---|---|
| RGB | rgb(162, 177, 64) |
| HSL | hsl(68, 47%, 47%) |
| HSV | hsv(68, 64%, 69%) |
| CMYK | cmyk(8.5%, 0%, 63.8%, 30.6%) |
| CIE-LAB | lab(69.11, -20.66, 54.13) |
| CIE-LCH | lch(69.11, 57.94, 110.89°) |
| OKLab | oklab(72.66% -0.0611 0.1232) |
| OKLCH | oklch(72.66% 0.138 116.4) |
| XYZ | xyz(31.5485, 39.4962, 10.8111) |
| Luminance | 0.3950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.43
Sick Green
#9DB92C
ΔE00 3.62
Avocado (survey)
#90B134
ΔE00 3.87
Sickly Green
#94B21C
ΔE00 3.89
Puke Green
#9AAE07
ΔE00 4.00
Icky Green
#8FAE22
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B140 #4F40B1
analogous
#B18840 #A2B140 #69B140
triadic
#A2B140 #40A2B1 #B140A2
tetradic
#A2B140 #40B188 #4F40B1 #B14069
square
#A2B140 #40B188 #4F40B1 #B14069
split-complementary
#A2B140 #4069B1 #8840B1
monochromatic
#50571F #798430 #A2B140 #BBC866 #CFD893
Accessibility & contrast
On white
2.36
#A2B140 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#A2B140 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B140
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B140 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B140 | 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)
#BDA832
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#ACA79A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b140; /* rgb */ color: rgb(162, 177, 64); /* oklch */ color: oklch(72.7% 0.138 116.4);
Tailwind
colors: {
custom: {
50: '#c0c87a',
500: '#a2b140',
950: '#000000',
},
}SCSS
$custom: #a2b140; $custom-light: #c0c87a; $custom-dark: #000000;
JSON
{
"hex": "#a2b140",
"rgb": {
"r": 162,
"g": 177,
"b": 64
},
"hsl": {
"h": 67.965,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.72659,
"c": 0.13751,
"h": 116.4
},
"luminance": 0.39496
}Semantic roles & 50–950 ramp
primary
#A2B140
secondary
#9189C3
accent
#51D763
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C