#A5BA31#A5BA31
#A5BA31 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.157 H 118.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA31 |
|---|---|
| RGB | rgb(165, 186, 49) |
| HSL | hsl(69, 58%, 46%) |
| HSV | hsv(69, 74%, 73%) |
| CMYK | cmyk(11.3%, 0%, 73.7%, 27.1%) |
| CIE-LAB | lab(71.78, -24.73, 62.65) |
| CIE-LCH | lch(71.78, 67.36, 111.54°) |
| OKLab | oklab(74.83% -0.074 0.1387) |
| OKLCH | oklch(74.83% 0.157 118.1) |
| XYZ | xyz(33.6311, 43.3392, 9.4987) |
| Luminance | 0.4334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.55
Pea
#A4BF20
ΔE00 1.98
Gross Green
#A0BF16
ΔE00 2.53
Bright Olive
#9CBB04
ΔE00 2.61
Booger
#9BB53C
ΔE00 2.79
Snot
#ACBB0D
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA31 #4631BA
analogous
#BA8A31 #A5BA31 #60BA31
triadic
#A5BA31 #31A5BA #BA31A5
tetradic
#A5BA31 #31BA8A #4631BA #BA3160
square
#A5BA31 #31BA8A #4631BA #BA3160
split-complementary
#A5BA31 #3160BA #8A31BA
monochromatic
#4F5917 #7A8A24 #A5BA31 #BFD256 #D2DF86
Accessibility & contrast
On white
2.17
#A5BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#A5BA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA31
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA31 | 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)
#C6B014
Deuteranopia (green-blind)
#C4B13D
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba31; /* rgb */ color: rgb(165, 186, 49); /* oklch */ color: oklch(74.8% 0.157 118.1);
Tailwind
colors: {
custom: {
50: '#c3ce73',
500: '#a5ba31',
950: '#000000',
},
}SCSS
$custom: #a5ba31; $custom-light: #c3ce73; $custom-dark: #000000;
JSON
{
"hex": "#a5ba31",
"rgb": {
"r": 165,
"g": 186,
"b": 49
},
"hsl": {
"h": 69.197,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.7483,
"c": 0.15721,
"h": 118.1
},
"luminance": 0.43339
}Semantic roles & 50–950 ramp
primary
#A5BA31
secondary
#897EC9
accent
#46E25E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B