#A5BA34#A5BA34
#A5BA34 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.155 H 118.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA34 |
|---|---|
| RGB | rgb(165, 186, 52) |
| HSL | hsl(69, 56%, 47%) |
| HSV | hsv(69, 72%, 73%) |
| CMYK | cmyk(11.3%, 0%, 72%, 27.1%) |
| CIE-LAB | lab(71.80, -24.58, 61.62) |
| CIE-LCH | lch(71.80, 66.34, 111.75°) |
| OKLab | oklab(74.85% -0.0733 0.137) |
| OKLCH | oklch(74.85% 0.155 118.1) |
| XYZ | xyz(33.6965, 43.3654, 9.8434) |
| Luminance | 0.4336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.54
Pea
#A4BF20
ΔE00 2.17
Booger
#9BB53C
ΔE00 2.60
Gross Green
#A0BF16
ΔE00 2.70
Bright Olive
#9CBB04
ΔE00 2.81
Booger Green
#96B403
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA34 #4934BA
analogous
#BA8C34 #A5BA34 #62BA34
triadic
#A5BA34 #34A5BA #BA34A5
tetradic
#A5BA34 #34BA8C #4934BA #BA3462
square
#A5BA34 #34BA8C #4934BA #BA3462
split-complementary
#A5BA34 #3462BA #8C34BA
monochromatic
#505A19 #7B8A27 #A5BA34 #BED15A #D1DE8A
Accessibility & contrast
On white
2.17
#A5BA34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#A5BA34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA34
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA34 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B01B
Deuteranopia (green-blind)
#C4B13F
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba34; /* rgb */ color: rgb(165, 186, 52); /* oklch */ color: oklch(74.9% 0.155 118.1);
Tailwind
colors: {
custom: {
50: '#c3ce75',
500: '#a5ba34',
950: '#000000',
},
}SCSS
$custom: #a5ba34; $custom-light: #c3ce75; $custom-dark: #000000;
JSON
{
"hex": "#a5ba34",
"rgb": {
"r": 165,
"g": 186,
"b": 52
},
"hsl": {
"h": 69.403,
"s": 56.303,
"l": 46.667
},
"oklch": {
"l": 0.7485,
"c": 0.15541,
"h": 118.1
},
"luminance": 0.43365
}Semantic roles & 50–950 ramp
primary
#A5BA34
secondary
#8D81C8
accent
#48E060
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B