#A5BA26#A5BA26
#A5BA26 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.163 H 117.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA26 |
|---|---|
| RGB | rgb(165, 186, 38) |
| HSL | hsl(69, 66%, 44%) |
| HSV | hsv(69, 80%, 73%) |
| CMYK | cmyk(11.3%, 0%, 79.6%, 27.1%) |
| CIE-LAB | lab(71.73, -25.21, 66.04) |
| CIE-LCH | lch(71.73, 70.69, 110.90°) |
| OKLab | oklab(74.77% -0.0762 0.144) |
| OKLCH | oklch(74.77% 0.163 117.9) |
| XYZ | xyz(33.4266, 43.2574, 8.4220) |
| Luminance | 0.4326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.60
Sick Green
#9DB92C
ΔE00 1.89
Bright Olive
#9CBB04
ΔE00 2.09
Gross Green
#A0BF16
ΔE00 2.15
Snot
#ACBB0D
ΔE00 2.29
Mustard Green
#A8B504
ΔE00 2.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA26 #3B26BA
analogous
#BA8526 #A5BA26 #5BBA26
triadic
#A5BA26 #26A5BA #BA26A5
tetradic
#A5BA26 #26BA85 #3B26BA #BA265B
square
#A5BA26 #26BA85 #3B26BA #BA265B
split-complementary
#A5BA26 #265BBA #8526BA
monochromatic
#4B5411 #78871C #A5BA26 #C4D944 #D4E377
Accessibility & contrast
On white
2.18
#A5BA26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#A5BA26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA26
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA26 | 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)
#C5B035
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba26; /* rgb */ color: rgb(165, 186, 38); /* oklch */ color: oklch(74.8% 0.163 117.9);
Tailwind
colors: {
custom: {
50: '#c4ce6e',
500: '#a5ba26',
950: '#000000',
},
}SCSS
$custom: #a5ba26; $custom-light: #c4ce6e; $custom-dark: #000000;
JSON
{
"hex": "#a5ba26",
"rgb": {
"r": 165,
"g": 186,
"b": 38
},
"hsl": {
"h": 68.514,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.74768,
"c": 0.16291,
"h": 117.9
},
"luminance": 0.43257
}Semantic roles & 50–950 ramp
primary
#A5BA26
secondary
#7E71CB
accent
#3FE957
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B