#A2B127#A2B127
#A2B127 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.154 H 115.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B127 |
|---|---|
| RGB | rgb(162, 177, 39) |
| HSL | hsl(67, 64%, 42%) |
| HSV | hsv(67, 78%, 69%) |
| CMYK | cmyk(8.5%, 0%, 78%, 30.6%) |
| CIE-LAB | lab(68.95, -22.02, 63.16) |
| CIE-LCH | lch(68.95, 66.89, 109.22°) |
| OKLab | oklab(72.48% -0.0672 0.1382) |
| OKLCH | oklch(72.48% 0.154 115.9) |
| XYZ | xyz(30.9895, 39.2726, 7.8669) |
| Luminance | 0.3927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.91
Mustard Green
#A8B504
ΔE00 2.52
Barf Green
#94AC02
ΔE00 2.82
Sickly Green
#94B21C
ΔE00 3.12
Booger Green
#96B403
ΔE00 3.12
Sick Green
#9DB92C
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B127 #3627B1
analogous
#B17B27 #A2B127 #5DB127
triadic
#A2B127 #27A2B1 #B127A2
tetradic
#A2B127 #27B17B #3627B1 #B1275D
square
#A2B127 #27B17B #3627B1 #B1275D
split-complementary
#A2B127 #275DB1 #7B27B1
monochromatic
#464D11 #747F1C #A2B127 #C5D540 #D4E072
Accessibility & contrast
On white
2.37
#A2B127 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#A2B127 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B127
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B127 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#ADA798
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2b127; /* rgb */ color: rgb(162, 177, 39); /* oklch */ color: oklch(72.5% 0.154 115.9);
Tailwind
colors: {
custom: {
50: '#c1c86d',
500: '#a2b127',
950: '#000000',
},
}SCSS
$custom: #a2b127; $custom-light: #c1c86d; $custom-dark: #000000;
JSON
{
"hex": "#a2b127",
"rgb": {
"r": 162,
"g": 177,
"b": 39
},
"hsl": {
"h": 66.522,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.72478,
"c": 0.15361,
"h": 115.9
},
"luminance": 0.39272
}Semantic roles & 50–950 ramp
primary
#A2B127
secondary
#776DC7
accent
#41E753
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A