#A5BA30#A5BA30
#A5BA30 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.158 H 118.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA30 |
|---|---|
| RGB | rgb(165, 186, 48) |
| HSL | hsl(69, 59%, 46%) |
| HSV | hsv(69, 74%, 73%) |
| CMYK | cmyk(11.3%, 0%, 74.2%, 27.1%) |
| CIE-LAB | lab(71.78, -24.78, 62.98) |
| CIE-LCH | lch(71.78, 67.69, 111.48°) |
| OKLab | oklab(74.82% -0.0742 0.1392) |
| OKLCH | oklch(74.82% 0.158 118.1) |
| XYZ | xyz(33.6102, 43.3309, 9.3888) |
| Luminance | 0.4333 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.56
Pea
#A4BF20
ΔE00 1.93
Gross Green
#A0BF16
ΔE00 2.48
Bright Olive
#9CBB04
ΔE00 2.54
Booger
#9BB53C
ΔE00 2.86
Snot
#ACBB0D
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA30 #4530BA
analogous
#BA8A30 #A5BA30 #60BA30
triadic
#A5BA30 #30A5BA #BA30A5
tetradic
#A5BA30 #30BA8A #4530BA #BA3060
square
#A5BA30 #30BA8A #4530BA #BA3060
split-complementary
#A5BA30 #3060BA #8A30BA
monochromatic
#4F5917 #7A8923 #A5BA30 #C0D354 #D2DF85
Accessibility & contrast
On white
2.17
#A5BA30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#A5BA30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA30
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA30 | 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)
#C7B012
Deuteranopia (green-blind)
#C4B13C
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba30; /* rgb */ color: rgb(165, 186, 48); /* oklch */ color: oklch(74.8% 0.158 118.1);
Tailwind
colors: {
custom: {
50: '#c3ce73',
500: '#a5ba30',
950: '#000000',
},
}SCSS
$custom: #a5ba30; $custom-light: #c3ce73; $custom-dark: #000000;
JSON
{
"hex": "#a5ba30",
"rgb": {
"r": 165,
"g": 186,
"b": 48
},
"hsl": {
"h": 69.13,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.74824,
"c": 0.15778,
"h": 118.1
},
"luminance": 0.43331
}Semantic roles & 50–950 ramp
primary
#A5BA30
secondary
#887DC9
accent
#46E25D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B