#A5BA27#A5BA27
#A5BA27 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.162 H 117.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA27 |
|---|---|
| RGB | rgb(165, 186, 39) |
| HSL | hsl(69, 65%, 44%) |
| HSV | hsv(69, 79%, 73%) |
| CMYK | cmyk(11.3%, 0%, 79%, 27.1%) |
| CIE-LAB | lab(71.73, -25.18, 65.76) |
| CIE-LCH | lch(71.73, 70.42, 110.95°) |
| OKLab | oklab(74.77% -0.076 0.1436) |
| OKLCH | oklch(74.77% 0.162 117.9) |
| XYZ | xyz(33.4430, 43.2640, 8.5081) |
| Luminance | 0.4326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.62
Sick Green
#9DB92C
ΔE00 1.85
Bright Olive
#9CBB04
ΔE00 2.12
Gross Green
#A0BF16
ΔE00 2.17
Snot
#ACBB0D
ΔE00 2.35
Mustard Green
#A8B504
ΔE00 2.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA27 #3C27BA
analogous
#BA8527 #A5BA27 #5CBA27
triadic
#A5BA27 #27A5BA #BA27A5
tetradic
#A5BA27 #27BA85 #3C27BA #BA275C
square
#A5BA27 #27BA85 #3C27BA #BA275C
split-complementary
#A5BA27 #275CBA #8527BA
monochromatic
#4B5512 #78871C #A5BA27 #C3D846 #D4E379
Accessibility & contrast
On white
2.18
#A5BA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#A5BA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA27
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA27 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C5B036
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba27; /* rgb */ color: rgb(165, 186, 39); /* oklch */ color: oklch(74.8% 0.162 117.9);
Tailwind
colors: {
custom: {
50: '#c4ce6f',
500: '#a5ba27',
950: '#000000',
},
}SCSS
$custom: #a5ba27; $custom-light: #c4ce6f; $custom-dark: #000000;
JSON
{
"hex": "#a5ba27",
"rgb": {
"r": 165,
"g": 186,
"b": 39
},
"hsl": {
"h": 68.571,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.74773,
"c": 0.16245,
"h": 117.9
},
"luminance": 0.43264
}Semantic roles & 50–950 ramp
primary
#A5BA27
secondary
#7F72CB
accent
#40E858
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B