#A6B418#A6B418
#A6B418 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.162 H 115.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B418 |
|---|---|
| RGB | rgb(166, 180, 24) |
| HSL | hsl(65, 76%, 40%) |
| HSV | hsv(65, 87%, 71%) |
| CMYK | cmyk(7.8%, 0%, 86.7%, 29.4%) |
| CIE-LAB | lab(70.05, -22.29, 68.06) |
| CIE-LCH | lch(70.05, 71.62, 108.13°) |
| OKLab | oklab(73.42% -0.0691 0.146) |
| OKLCH | oklch(73.42% 0.162 115.3) |
| XYZ | xyz(32.2130, 40.8160, 7.0453) |
| Luminance | 0.4082 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.95
Snot
#ACBB0D
ΔE00 2.07
Puke Green
#9AAE07
ΔE00 2.41
Booger Green
#96B403
ΔE00 3.35
Bright Olive
#9CBB04
ΔE00 3.53
Barf Green
#94AC02
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B418 #2618B4
analogous
#B47418 #A6B418 #58B418
triadic
#A6B418 #18A6B4 #B418A6
tetradic
#A6B418 #18B474 #2618B4 #B41858
square
#A6B418 #18B474 #2618B4 #B41858
split-complementary
#A6B418 #1858B4 #7418B4
monochromatic
#42480A #747E11 #A6B418 #D1E227 #DDE95D
Accessibility & contrast
On white
2.29
#A6B418 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A6B418 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B418
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B418 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B418 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C1AC2B
Tritanopia (blue-blind)
#B1A999
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b418; /* rgb */ color: rgb(166, 180, 24); /* oklch */ color: oklch(73.4% 0.162 115.3);
Tailwind
colors: {
custom: {
50: '#c5ca68',
500: '#a6b418',
950: '#000000',
},
}SCSS
$custom: #a6b418; $custom-light: #c5ca68; $custom-dark: #000000;
JSON
{
"hex": "#a6b418",
"rgb": {
"r": 166,
"g": 180,
"b": 24
},
"hsl": {
"h": 65.385,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.73418,
"c": 0.16153,
"h": 115.3
},
"luminance": 0.40815
}Semantic roles & 50–950 ramp
primary
#A6B418
secondary
#655BCD
accent
#35F346
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A