#A5B317#A5B317
#A5B317 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.161 H 115.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B317 |
|---|---|
| RGB | rgb(165, 179, 23) |
| HSL | hsl(65, 77%, 40%) |
| HSV | hsv(65, 87%, 70%) |
| CMYK | cmyk(7.8%, 0%, 87.2%, 29.8%) |
| CIE-LAB | lab(69.68, -22.24, 67.94) |
| CIE-LCH | lch(69.68, 71.49, 108.13°) |
| OKLab | oklab(73.11% -0.069 0.1456) |
| OKLCH | oklch(73.11% 0.161 115.3) |
| XYZ | xyz(31.7928, 40.3020, 6.9147) |
| Luminance | 0.4030 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.10
Puke Green
#9AAE07
ΔE00 2.18
Snot
#ACBB0D
ΔE00 2.33
Booger Green
#96B403
ΔE00 3.29
Barf Green
#94AC02
ΔE00 3.34
Bright Olive
#9CBB04
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B317 #2517B3
analogous
#B37317 #A5B317 #57B317
triadic
#A5B317 #17A5B3 #B317A5
tetradic
#A5B317 #17B373 #2517B3 #B31757
square
#A5B317 #17B373 #2517B3 #B31757
split-complementary
#A5B317 #1757B3 #7317B3
monochromatic
#414709 #737D10 #A5B317 #D2E324 #DDEA5B
Accessibility & contrast
On white
2.32
#A5B317 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A5B317 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B317
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B317 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B317 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C0AB2A
Tritanopia (blue-blind)
#B0A898
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b317; /* rgb */ color: rgb(165, 179, 23); /* oklch */ color: oklch(73.1% 0.161 115.3);
Tailwind
colors: {
custom: {
50: '#c4c968',
500: '#a5b317',
950: '#000000',
},
}SCSS
$custom: #a5b317; $custom-light: #c4c968; $custom-dark: #000000;
JSON
{
"hex": "#a5b317",
"rgb": {
"r": 165,
"g": 179,
"b": 23
},
"hsl": {
"h": 65.385,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.73107,
"c": 0.16114,
"h": 115.3
},
"luminance": 0.40301
}Semantic roles & 50–950 ramp
primary
#A5B317
secondary
#6358CD
accent
#34F445
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A