#A5B416#A5B416
#A5B416 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.3% C 0.162 H 115.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B416 |
|---|---|
| RGB | rgb(165, 180, 22) |
| HSL | hsl(66, 78%, 40%) |
| HSV | hsv(66, 88%, 71%) |
| CMYK | cmyk(8.3%, 0%, 87.8%, 29.4%) |
| CIE-LAB | lab(69.97, -22.76, 68.36) |
| CIE-LCH | lch(69.97, 72.05, 108.42°) |
| OKLab | oklab(73.33% -0.0704 0.1464) |
| OKLCH | oklch(73.33% 0.162 115.7) |
| XYZ | xyz(31.9841, 40.7003, 6.9300) |
| Luminance | 0.4070 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.02
Snot
#ACBB0D
ΔE00 2.10
Puke Green
#9AAE07
ΔE00 2.26
Booger Green
#96B403
ΔE00 3.13
Bright Olive
#9CBB04
ΔE00 3.34
Barf Green
#94AC02
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B416 #2516B4
analogous
#B47416 #A5B416 #56B416
triadic
#A5B416 #16A5B4 #B416A5
tetradic
#A5B416 #16B474 #2516B4 #B41656
square
#A5B416 #16B474 #2516B4 #B41656
split-complementary
#A5B416 #1656B4 #7416B4
monochromatic
#414709 #737D0F #A5B416 #D2E423 #DDEB5A
Accessibility & contrast
On white
2.30
#A5B416 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A5B416 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B416
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B416 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B416 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2A
Tritanopia (blue-blind)
#B0A999
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a5b416; /* rgb */ color: rgb(165, 180, 22); /* oklch */ color: oklch(73.3% 0.162 115.7);
Tailwind
colors: {
custom: {
50: '#c4ca68',
500: '#a5b416',
950: '#000000',
},
}SCSS
$custom: #a5b416; $custom-light: #c4ca68; $custom-dark: #000000;
JSON
{
"hex": "#a5b416",
"rgb": {
"r": 165,
"g": 180,
"b": 22
},
"hsl": {
"h": 65.696,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.73332,
"c": 0.16248,
"h": 115.7
},
"luminance": 0.407
}Semantic roles & 50–950 ramp
primary
#A5B416
secondary
#6358CE
accent
#33F545
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A