#A5B318#A5B318
#A5B318 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.161 H 115.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B318 |
|---|---|
| RGB | rgb(165, 179, 24) |
| HSL | hsl(65, 76%, 40%) |
| HSV | hsv(65, 87%, 70%) |
| CMYK | cmyk(7.8%, 0%, 86.6%, 29.8%) |
| CIE-LAB | lab(69.69, -22.22, 67.74) |
| CIE-LCH | lch(69.69, 71.29, 108.16°) |
| OKLab | oklab(73.11% -0.0689 0.1453) |
| OKLCH | oklch(73.11% 0.161 115.4) |
| XYZ | xyz(31.8030, 40.3060, 6.9685) |
| Luminance | 0.4031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.14
Puke Green
#9AAE07
ΔE00 2.17
Snot
#ACBB0D
ΔE00 2.35
Booger Green
#96B403
ΔE00 3.28
Barf Green
#94AC02
ΔE00 3.33
Bright Olive
#9CBB04
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B318 #2618B3
analogous
#B37318 #A5B318 #58B318
triadic
#A5B318 #18A5B3 #B318A5
tetradic
#A5B318 #18B373 #2618B3 #B31858
square
#A5B318 #18B373 #2618B3 #B31858
split-complementary
#A5B318 #1858B3 #7318B3
monochromatic
#42470A #737D11 #A5B318 #D1E226 #DCE95C
Accessibility & contrast
On white
2.32
#A5B318 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A5B318 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B318
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B318 | 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)
#C0AB2B
Tritanopia (blue-blind)
#B0A898
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b318; /* rgb */ color: rgb(165, 179, 24); /* oklch */ color: oklch(73.1% 0.161 115.4);
Tailwind
colors: {
custom: {
50: '#c4c968',
500: '#a5b318',
950: '#000000',
},
}SCSS
$custom: #a5b318; $custom-light: #c4c968; $custom-dark: #000000;
JSON
{
"hex": "#a5b318",
"rgb": {
"r": 165,
"g": 179,
"b": 24
},
"hsl": {
"h": 65.419,
"s": 76.355,
"l": 39.804
},
"oklch": {
"l": 0.7311,
"c": 0.16083,
"h": 115.4
},
"luminance": 0.40305
}Semantic roles & 50–950 ramp
primary
#A5B318
secondary
#645ACD
accent
#35F346
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A