#A5B31E#A5B31E
#A5B31E is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.159 H 115.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B31E |
|---|---|
| RGB | rgb(165, 179, 30) |
| HSL | hsl(66, 71%, 41%) |
| HSV | hsv(66, 83%, 70%) |
| CMYK | cmyk(7.8%, 0%, 83.2%, 29.8%) |
| CIE-LAB | lab(69.71, -22.05, 66.39) |
| CIE-LCH | lch(69.71, 69.96, 108.37°) |
| OKLab | oklab(73.13% -0.068 0.1434) |
| OKLCH | oklch(73.13% 0.159 115.4) |
| XYZ | xyz(31.8725, 40.3338, 7.3343) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.44
Puke Green
#9AAE07
ΔE00 2.18
Snot
#ACBB0D
ΔE00 2.50
Booger Green
#96B403
ΔE00 3.26
Barf Green
#94AC02
ΔE00 3.31
Sick Green
#9DB92C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B31E #2C1EB3
analogous
#B3761E #A5B31E #5AB31E
triadic
#A5B31E #1EA5B3 #B31EA5
tetradic
#A5B31E #1EB376 #2C1EB3 #B31E5A
square
#A5B31E #1EB376 #2C1EB3 #B31E5A
split-complementary
#A5B31E #1E5AB3 #761EB3
monochromatic
#444A0C #757F15 #A5B31E #CDDD32 #D9E566
Accessibility & contrast
On white
2.32
#A5B31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A5B31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B31E
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B31E | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2E
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b31e; /* rgb */ color: rgb(165, 179, 30); /* oklch */ color: oklch(73.1% 0.159 115.4);
Tailwind
colors: {
custom: {
50: '#c4c96a',
500: '#a5b31e',
950: '#000000',
},
}SCSS
$custom: #a5b31e; $custom-light: #c4c96a; $custom-dark: #000000;
JSON
{
"hex": "#a5b31e",
"rgb": {
"r": 165,
"g": 179,
"b": 30
},
"hsl": {
"h": 65.638,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.73132,
"c": 0.15872,
"h": 115.4
},
"luminance": 0.40333
}Semantic roles & 50–950 ramp
primary
#A5B31E
secondary
#6C62CB
accent
#3AEE4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A