#A2B040#A2B040
#A2B040 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.136 H 116.0°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B040 |
|---|---|
| RGB | rgb(162, 176, 64) |
| HSL | hsl(68, 47%, 47%) |
| HSV | hsv(68, 64%, 69%) |
| CMYK | cmyk(8%, 0%, 63.6%, 31%) |
| CIE-LAB | lab(68.83, -20.16, 53.83) |
| CIE-LCH | lch(68.83, 57.48, 110.53°) |
| OKLab | oklab(72.43% -0.0597 0.1226) |
| OKLCH | oklch(72.43% 0.136 116) |
| XYZ | xyz(31.3517, 39.1026, 10.7455) |
| Luminance | 0.3910 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.71
Sick Green
#9DB92C
ΔE00 3.90
Puke Green
#9AAE07
ΔE00 4.03
Avocado (survey)
#90B134
ΔE00 4.05
Sickly Green
#94B21C
ΔE00 4.06
Icky Green
#8FAE22
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B040 #4E40B0
analogous
#B08640 #A2B040 #6AB040
triadic
#A2B040 #40A2B0 #B040A2
tetradic
#A2B040 #40B086 #4E40B0 #B0406A
square
#A2B040 #40B086 #4E40B0 #B0406A
split-complementary
#A2B040 #406AB0 #8640B0
monochromatic
#4F561F #798330 #A2B040 #BBC766 #CFD893
Accessibility & contrast
On white
2.38
#A2B040 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#A2B040 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B040
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B040 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#ACA699
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2b040; /* rgb */ color: rgb(162, 176, 64); /* oklch */ color: oklch(72.4% 0.136 116.0);
Tailwind
colors: {
custom: {
50: '#c0c77a',
500: '#a2b040',
950: '#000000',
},
}SCSS
$custom: #a2b040; $custom-light: #c0c77a; $custom-dark: #000000;
JSON
{
"hex": "#a2b040",
"rgb": {
"r": 162,
"g": 176,
"b": 64
},
"hsl": {
"h": 67.5,
"s": 46.667,
"l": 47.059
},
"oklch": {
"l": 0.72431,
"c": 0.13632,
"h": 116
},
"luminance": 0.39102
}Semantic roles & 50–950 ramp
primary
#A2B040
secondary
#9089C3
accent
#51D662
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C