#A5BA37#A5BA37
#A5BA37 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.154 H 118.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA37 |
|---|---|
| RGB | rgb(165, 186, 55) |
| HSL | hsl(70, 54%, 47%) |
| HSV | hsv(70, 70%, 73%) |
| CMYK | cmyk(11.3%, 0%, 70.4%, 27.1%) |
| CIE-LAB | lab(71.82, -24.42, 60.55) |
| CIE-LCH | lch(71.82, 65.29, 111.96°) |
| OKLab | oklab(74.87% -0.0726 0.1353) |
| OKLCH | oklch(74.87% 0.154 118.2) |
| XYZ | xyz(33.7663, 43.3933, 10.2106) |
| Luminance | 0.4339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.59
Pea
#A4BF20
ΔE00 2.39
Booger
#9BB53C
ΔE00 2.41
Gross Green
#A0BF16
ΔE00 2.90
Bright Olive
#9CBB04
ΔE00 3.04
Sickly Green
#94B21C
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA37 #4C37BA
analogous
#BA8D37 #A5BA37 #64BA37
triadic
#A5BA37 #37A5BA #BA37A5
tetradic
#A5BA37 #37BA8D #4C37BA #BA3764
square
#A5BA37 #37BA8D #4C37BA #BA3764
split-complementary
#A5BA37 #3764BA #8D37BA
monochromatic
#515C1B #7B8B29 #A5BA37 #BDD05F #D1DE8E
Accessibility & contrast
On white
2.17
#A5BA37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#A5BA37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA37
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA37 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B021
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba37; /* rgb */ color: rgb(165, 186, 55); /* oklch */ color: oklch(74.9% 0.154 118.2);
Tailwind
colors: {
custom: {
50: '#c3ce76',
500: '#a5ba37',
950: '#000000',
},
}SCSS
$custom: #a5ba37; $custom-light: #c3ce76; $custom-dark: #000000;
JSON
{
"hex": "#a5ba37",
"rgb": {
"r": 165,
"g": 186,
"b": 55
},
"hsl": {
"h": 69.618,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.74871,
"c": 0.15352,
"h": 118.2
},
"luminance": 0.43393
}Semantic roles & 50–950 ramp
primary
#A5BA37
secondary
#8F85C8
accent
#4ADE62
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B