#A2B440#A2B440
#A2B440 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.3% C 0.141 H 117.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B440 |
|---|---|
| RGB | rgb(162, 180, 64) |
| HSL | hsl(69, 48%, 48%) |
| HSV | hsv(69, 64%, 71%) |
| CMYK | cmyk(10%, 0%, 64.4%, 29.4%) |
| CIE-LAB | lab(69.96, -22.15, 55.03) |
| CIE-LCH | lch(69.96, 59.32, 111.93°) |
| OKLab | oklab(73.34% -0.0652 0.1251) |
| OKLCH | oklch(73.34% 0.141 117.5) |
| XYZ | xyz(32.1476, 40.6944, 11.0108) |
| Luminance | 0.4069 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.70
Sick Green
#9DB92C
ΔE00 2.82
Avocado (survey)
#90B134
ΔE00 3.50
Sickly Green
#94B21C
ΔE00 3.51
Icky Green
#8FAE22
ΔE00 3.88
Puke Green
#9AAE07
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B440 #5240B4
analogous
#B48C40 #A2B440 #68B440
triadic
#A2B440 #40A2B4 #B440A2
tetradic
#A2B440 #40B48C #5240B4 #B44068
square
#A2B440 #40B48C #5240B4 #B44068
split-complementary
#A2B440 #4068B4 #8C40B4
monochromatic
#515A20 #798730 #A2B440 #BAC968 #CFD995
Accessibility & contrast
On white
2.30
#A2B440 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A2B440 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B440
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B440 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B440 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#BEAC48
Tritanopia (blue-blind)
#ABAA9C
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a2b440; /* rgb */ color: rgb(162, 180, 64); /* oklch */ color: oklch(73.3% 0.141 117.5);
Tailwind
colors: {
custom: {
50: '#c0ca7b',
500: '#a2b440',
950: '#000000',
},
}SCSS
$custom: #a2b440; $custom-light: #c0ca7b; $custom-dark: #000000;
JSON
{
"hex": "#a2b440",
"rgb": {
"r": 162,
"g": 180,
"b": 64
},
"hsl": {
"h": 69.31,
"s": 47.541,
"l": 47.843
},
"oklch": {
"l": 0.73343,
"c": 0.1411,
"h": 117.5
},
"luminance": 0.40694
}Semantic roles & 50–950 ramp
primary
#A2B440
secondary
#948BC5
accent
#51D766
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C