#A2B145#A2B145
#A2B145 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.133 H 116.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B145 |
|---|---|
| RGB | rgb(162, 177, 69) |
| HSL | hsl(68, 44%, 48%) |
| HSV | hsv(68, 61%, 69%) |
| CMYK | cmyk(8.5%, 0%, 61%, 30.6%) |
| CIE-LAB | lab(69.15, -20.30, 52.02) |
| CIE-LCH | lch(69.15, 55.84, 111.32°) |
| OKLab | oklab(72.71% -0.0595 0.1194) |
| OKLCH | oklch(72.71% 0.133 116.5) |
| XYZ | xyz(31.6972, 39.5557, 11.5943) |
| Luminance | 0.3956 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.53
Avocado (survey)
#90B134
ΔE00 3.94
Sick Green
#9DB92C
ΔE00 3.99
Sickly Green
#94B21C
ΔE00 4.31
Icky Green
#8FAE22
ΔE00 4.35
Puke Green
#9AAE07
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B145 #5445B1
analogous
#B18A45 #A2B145 #6CB145
triadic
#A2B145 #45A2B1 #B145A2
tetradic
#A2B145 #45B18A #5445B1 #B1456C
square
#A2B145 #45B18A #5445B1 #B1456C
split-complementary
#A2B145 #456CB1 #8A45B1
monochromatic
#515923 #7A8534 #A2B145 #BAC66D #CFD799
Accessibility & contrast
On white
2.36
#A2B145 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#A2B145 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B145
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B145 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B145 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA838
Deuteranopia (green-blind)
#BBAA4C
Tritanopia (blue-blind)
#ABA89A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b145; /* rgb */ color: rgb(162, 177, 69); /* oklch */ color: oklch(72.7% 0.133 116.5);
Tailwind
colors: {
custom: {
50: '#c0c87d',
500: '#a2b145',
950: '#000000',
},
}SCSS
$custom: #a2b145; $custom-light: #c0c87d; $custom-dark: #000000;
JSON
{
"hex": "#a2b145",
"rgb": {
"r": 162,
"g": 177,
"b": 69
},
"hsl": {
"h": 68.333,
"s": 43.902,
"l": 48.235
},
"oklch": {
"l": 0.72707,
"c": 0.13345,
"h": 116.5
},
"luminance": 0.39555
}Semantic roles & 50–950 ramp
primary
#A2B145
secondary
#968EC3
accent
#54D466
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C