#A5B418#A5B418
#A5B418 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 | #A5B418 |
|---|---|
| RGB | rgb(165, 180, 24) |
| HSL | hsl(66, 76%, 40%) |
| HSV | hsv(66, 87%, 71%) |
| CMYK | cmyk(8.3%, 0%, 86.7%, 29.4%) |
| CIE-LAB | lab(69.97, -22.71, 67.97) |
| CIE-LCH | lch(69.97, 71.67, 108.48°) |
| OKLab | oklab(73.34% -0.0702 0.1459) |
| OKLCH | oklch(73.34% 0.162 115.7) |
| XYZ | xyz(32.0042, 40.7083, 7.0355) |
| Luminance | 0.4071 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.11
Snot
#ACBB0D
ΔE00 2.14
Puke Green
#9AAE07
ΔE00 2.25
Booger Green
#96B403
ΔE00 3.12
Bright Olive
#9CBB04
ΔE00 3.34
Barf Green
#94AC02
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B418 #2718B4
analogous
#B47518 #A5B418 #57B418
triadic
#A5B418 #18A5B4 #B418A5
tetradic
#A5B418 #18B475 #2718B4 #B41857
square
#A5B418 #18B475 #2718B4 #B41857
split-complementary
#A5B418 #1857B4 #7518B4
monochromatic
#42480A #747E11 #A5B418 #D0E227 #DCE95D
Accessibility & contrast
On white
2.30
#A5B418 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A5B418 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B418
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B418 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B418 | 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)
#C0AC2B
Tritanopia (blue-blind)
#B0A999
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a5b418; /* rgb */ color: rgb(165, 180, 24); /* oklch */ color: oklch(73.3% 0.162 115.7);
Tailwind
colors: {
custom: {
50: '#c4ca68',
500: '#a5b418',
950: '#000000',
},
}SCSS
$custom: #a5b418; $custom-light: #c4ca68; $custom-dark: #000000;
JSON
{
"hex": "#a5b418",
"rgb": {
"r": 165,
"g": 180,
"b": 24
},
"hsl": {
"h": 65.769,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.73338,
"c": 0.16187,
"h": 115.7
},
"luminance": 0.40708
}Semantic roles & 50–950 ramp
primary
#A5B418
secondary
#665BCD
accent
#35F347
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A