#A5B316#A5B316
#A5B316 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 | #A5B316 |
|---|---|
| RGB | rgb(165, 179, 22) |
| HSL | hsl(65, 78%, 39%) |
| HSV | hsv(65, 88%, 70%) |
| CMYK | cmyk(7.8%, 0%, 87.7%, 29.8%) |
| CIE-LAB | lab(69.68, -22.27, 68.13) |
| CIE-LCH | lch(69.68, 71.68, 108.10°) |
| OKLab | oklab(73.1% -0.0691 0.1459) |
| OKLCH | oklch(73.1% 0.161 115.3) |
| XYZ | xyz(31.7830, 40.2980, 6.8629) |
| Luminance | 0.4030 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.06
Puke Green
#9AAE07
ΔE00 2.18
Snot
#ACBB0D
ΔE00 2.32
Booger Green
#96B403
ΔE00 3.30
Barf Green
#94AC02
ΔE00 3.35
Bright Olive
#9CBB04
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B316 #2416B3
analogous
#B37216 #A5B316 #57B316
triadic
#A5B316 #16A5B3 #B316A5
tetradic
#A5B316 #16B372 #2416B3 #B31657
square
#A5B316 #16B372 #2416B3 #B31657
split-complementary
#A5B316 #1657B3 #7216B3
monochromatic
#414609 #737C0F #A5B316 #D3E422 #DEEB59
Accessibility & contrast
On white
2.32
#A5B316 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A5B316 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B316
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B316 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B316 | 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: #a5b316; /* rgb */ color: rgb(165, 179, 22); /* oklch */ color: oklch(73.1% 0.161 115.3);
Tailwind
colors: {
custom: {
50: '#c4c968',
500: '#a5b316',
950: '#000000',
},
}SCSS
$custom: #a5b316; $custom-light: #c4c968; $custom-dark: #000000;
JSON
{
"hex": "#a5b316",
"rgb": {
"r": 165,
"g": 179,
"b": 22
},
"hsl": {
"h": 65.35,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.73104,
"c": 0.16145,
"h": 115.3
},
"luminance": 0.40297
}Semantic roles & 50–950 ramp
primary
#A5B316
secondary
#6257CE
accent
#33F544
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A