#A5BA2A#A5BA2A
#A5BA2A is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.161 H 117.9°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA2A |
|---|---|
| RGB | rgb(165, 186, 42) |
| HSL | hsl(69, 63%, 45%) |
| HSV | hsv(69, 77%, 73%) |
| CMYK | cmyk(11.3%, 0%, 77.4%, 27.1%) |
| CIE-LAB | lab(71.75, -25.05, 64.88) |
| CIE-LCH | lch(71.75, 69.55, 111.11°) |
| OKLab | oklab(74.79% -0.0754 0.1422) |
| OKLCH | oklch(74.79% 0.161 117.9) |
| XYZ | xyz(33.4947, 43.2846, 8.7803) |
| Luminance | 0.4328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.69
Sick Green
#9DB92C
ΔE00 1.73
Bright Olive
#9CBB04
ΔE00 2.24
Gross Green
#A0BF16
ΔE00 2.24
Snot
#ACBB0D
ΔE00 2.54
Booger Green
#96B403
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA2A #3F2ABA
analogous
#BA872A #A5BA2A #5DBA2A
triadic
#A5BA2A #2AA5BA #BA2AA5
tetradic
#A5BA2A #2ABA87 #3F2ABA #BA2A5D
square
#A5BA2A #2ABA87 #3F2ABA #BA2A5D
split-complementary
#A5BA2A #2A5DBA #872ABA
monochromatic
#4C5613 #79881F #A5BA2A #C2D64B #D3E27D
Accessibility & contrast
On white
2.17
#A5BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#A5BA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA2A
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA2A | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C5B038
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba2a; /* rgb */ color: rgb(165, 186, 42); /* oklch */ color: oklch(74.8% 0.161 117.9);
Tailwind
colors: {
custom: {
50: '#c3ce70',
500: '#a5ba2a',
950: '#000000',
},
}SCSS
$custom: #a5ba2a; $custom-light: #c3ce70; $custom-dark: #000000;
JSON
{
"hex": "#a5ba2a",
"rgb": {
"r": 165,
"g": 186,
"b": 42
},
"hsl": {
"h": 68.75,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.74789,
"c": 0.16099,
"h": 117.9
},
"luminance": 0.43284
}Semantic roles & 50–950 ramp
primary
#A5BA2A
secondary
#8276CA
accent
#42E65A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B