#A2B045#A2B045
#A2B045 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.132 H 116.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B045 |
|---|---|
| RGB | rgb(162, 176, 69) |
| HSL | hsl(68, 44%, 48%) |
| HSV | hsv(68, 61%, 69%) |
| CMYK | cmyk(8%, 0%, 60.8%, 31%) |
| CIE-LAB | lab(68.87, -19.80, 51.71) |
| CIE-LCH | lch(68.87, 55.37, 110.95°) |
| OKLab | oklab(72.48% -0.0581 0.1188) |
| OKLCH | oklch(72.48% 0.132 116.1) |
| XYZ | xyz(31.5004, 39.1621, 11.5287) |
| Luminance | 0.3916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.81
Avocado (survey)
#90B134
ΔE00 4.12
Sick Green
#9DB92C
ΔE00 4.26
Icky Green
#8FAE22
ΔE00 4.46
Sickly Green
#94B21C
ΔE00 4.48
Puke Green
#9AAE07
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B045 #5345B0
analogous
#B08845 #A2B045 #6DB045
triadic
#A2B045 #45A2B0 #B045A2
tetradic
#A2B045 #45B088 #5345B0 #B0456D
square
#A2B045 #45B088 #5345B0 #B0456D
split-complementary
#A2B045 #456DB0 #8845B0
monochromatic
#515823 #7A8434 #A2B045 #BAC66D #CFD799
Accessibility & contrast
On white
2.38
#A2B045 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A2B045 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B045
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B045 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B045 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#BAA94C
Tritanopia (blue-blind)
#ABA799
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2b045; /* rgb */ color: rgb(162, 176, 69); /* oklch */ color: oklch(72.5% 0.132 116.1);
Tailwind
colors: {
custom: {
50: '#c0c77d',
500: '#a2b045',
950: '#000000',
},
}SCSS
$custom: #a2b045; $custom-light: #c0c77d; $custom-dark: #000000;
JSON
{
"hex": "#a2b045",
"rgb": {
"r": 162,
"g": 176,
"b": 69
},
"hsl": {
"h": 67.85,
"s": 43.673,
"l": 48.039
},
"oklch": {
"l": 0.7248,
"c": 0.13224,
"h": 116.1
},
"luminance": 0.39162
}Semantic roles & 50–950 ramp
primary
#A2B045
secondary
#958EC3
accent
#54D365
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C