#A5BA28#A5BA28
#A5BA28 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 | #A5BA28 |
|---|---|
| RGB | rgb(165, 186, 40) |
| HSL | hsl(69, 65%, 44%) |
| HSV | hsv(69, 78%, 73%) |
| CMYK | cmyk(11.3%, 0%, 78.5%, 27.1%) |
| CIE-LAB | lab(71.74, -25.14, 65.47) |
| CIE-LCH | lch(71.74, 70.13, 111.00°) |
| OKLab | oklab(74.78% -0.0758 0.1431) |
| OKLCH | oklch(74.78% 0.162 117.9) |
| XYZ | xyz(33.4598, 43.2707, 8.5965) |
| Luminance | 0.4327 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.64
Sick Green
#9DB92C
ΔE00 1.81
Bright Olive
#9CBB04
ΔE00 2.16
Gross Green
#A0BF16
ΔE00 2.19
Snot
#ACBB0D
ΔE00 2.41
Mustard Green
#A8B504
ΔE00 2.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA28 #3D28BA
analogous
#BA8628 #A5BA28 #5CBA28
triadic
#A5BA28 #28A5BA #BA28A5
tetradic
#A5BA28 #28BA86 #3D28BA #BA285C
square
#A5BA28 #28BA86 #3D28BA #BA285C
split-complementary
#A5BA28 #285CBA #8628BA
monochromatic
#4C5512 #78881D #A5BA28 #C3D848 #D3E27A
Accessibility & contrast
On white
2.18
#A5BA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#A5BA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA28
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA28 | 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: #a5ba28; /* rgb */ color: rgb(165, 186, 40); /* oklch */ color: oklch(74.8% 0.162 117.9);
Tailwind
colors: {
custom: {
50: '#c3ce6f',
500: '#a5ba28',
950: '#000000',
},
}SCSS
$custom: #a5ba28; $custom-light: #c3ce6f; $custom-dark: #000000;
JSON
{
"hex": "#a5ba28",
"rgb": {
"r": 165,
"g": 186,
"b": 40
},
"hsl": {
"h": 68.63,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.74778,
"c": 0.16198,
"h": 117.9
},
"luminance": 0.4327
}Semantic roles & 50–950 ramp
primary
#A5BA28
secondary
#8073CA
accent
#40E858
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B