#A5B031#A5B031
#A5B031 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.146 H 114.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B031 |
|---|---|
| RGB | rgb(165, 176, 49) |
| HSL | hsl(65, 56%, 44%) |
| HSV | hsv(65, 72%, 69%) |
| CMYK | cmyk(6.2%, 0%, 72.2%, 31%) |
| CIE-LAB | lab(68.95, -19.78, 59.92) |
| CIE-LCH | lch(68.95, 63.10, 108.27°) |
| OKLab | oklab(72.55% -0.0603 0.133) |
| OKLCH | oklch(72.55% 0.146 114.4) |
| XYZ | xyz(31.5977, 39.2723, 8.8209) |
| Luminance | 0.3927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.85
Mustard Green
#A8B504
ΔE00 3.13
Barf Green
#94AC02
ΔE00 3.68
Pea Soup Green
#94A617
ΔE00 3.77
Booger
#9BB53C
ΔE00 3.80
Sick Green
#9DB92C
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B031 #3C31B0
analogous
#B07C31 #A5B031 #66B031
triadic
#A5B031 #31A5B0 #B031A5
tetradic
#A5B031 #31B07C #3C31B0 #B03166
square
#A5B031 #31B07C #3C31B0 #B03166
split-complementary
#A5B031 #3166B0 #7C31B0
monochromatic
#4B5016 #788024 #A5B031 #C3CE50 #D4DC80
Accessibility & contrast
On white
2.37
#A5B031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#A5B031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B031
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B031 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#B0A697
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a5b031; /* rgb */ color: rgb(165, 176, 49); /* oklch */ color: oklch(72.6% 0.146 114.4);
Tailwind
colors: {
custom: {
50: '#c3c772',
500: '#a5b031',
950: '#000000',
},
}SCSS
$custom: #a5b031; $custom-light: #c3c772; $custom-dark: #000000;
JSON
{
"hex": "#a5b031",
"rgb": {
"r": 165,
"g": 176,
"b": 49
},
"hsl": {
"h": 65.197,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.72552,
"c": 0.14598,
"h": 114.4
},
"luminance": 0.39272
}Semantic roles & 50–950 ramp
primary
#A5B031
secondary
#7F78C5
accent
#48E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B