#A5B127#A5B127
#A5B127 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.153 H 114.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B127 |
|---|---|
| RGB | rgb(165, 177, 39) |
| HSL | hsl(65, 64%, 42%) |
| HSV | hsv(65, 78%, 69%) |
| CMYK | cmyk(6.8%, 0%, 78%, 30.6%) |
| CIE-LAB | lab(69.18, -20.74, 63.45) |
| CIE-LCH | lch(69.18, 66.76, 108.10°) |
| OKLab | oklab(72.72% -0.0638 0.1387) |
| OKLCH | oklch(72.72% 0.153 114.7) |
| XYZ | xyz(31.6063, 39.5907, 7.8959) |
| Luminance | 0.3959 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.21
Puke Green
#9AAE07
ΔE00 2.32
Snot
#ACBB0D
ΔE00 3.29
Barf Green
#94AC02
ΔE00 3.35
Booger Green
#96B403
ΔE00 3.71
Sick Green
#9DB92C
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B127 #3327B1
analogous
#B17827 #A5B127 #60B127
triadic
#A5B127 #27A5B1 #B127A5
tetradic
#A5B127 #27B178 #3327B1 #B12760
square
#A5B127 #27B178 #3327B1 #B12760
split-complementary
#A5B127 #2760B1 #7827B1
monochromatic
#484D11 #767F1C #A5B127 #C8D540 #D6E072
Accessibility & contrast
On white
2.35
#A5B127 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#A5B127 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B127
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B127 | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#B0A698
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a5b127; /* rgb */ color: rgb(165, 177, 39); /* oklch */ color: oklch(72.7% 0.153 114.7);
Tailwind
colors: {
custom: {
50: '#c3c86d',
500: '#a5b127',
950: '#000000',
},
}SCSS
$custom: #a5b127; $custom-light: #c3c86d; $custom-dark: #000000;
JSON
{
"hex": "#a5b127",
"rgb": {
"r": 165,
"g": 177,
"b": 39
},
"hsl": {
"h": 65.217,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.72719,
"c": 0.15263,
"h": 114.7
},
"luminance": 0.3959
}Semantic roles & 50–950 ramp
primary
#A5B127
secondary
#756DC7
accent
#41E74F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B