#A6B416#A6B416
#A6B416 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 | #A6B416 |
|---|---|
| RGB | rgb(166, 180, 22) |
| HSL | hsl(65, 78%, 40%) |
| HSV | hsv(65, 88%, 71%) |
| CMYK | cmyk(7.8%, 0%, 87.8%, 29.4%) |
| CIE-LAB | lab(70.04, -22.33, 68.46) |
| CIE-LCH | lch(70.04, 72.01, 108.07°) |
| OKLab | oklab(73.41% -0.0693 0.1466) |
| OKLCH | oklch(73.41% 0.162 115.3) |
| XYZ | xyz(32.1930, 40.8080, 6.9398) |
| Luminance | 0.4081 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.86
Snot
#ACBB0D
ΔE00 2.03
Puke Green
#9AAE07
ΔE00 2.42
Booger Green
#96B403
ΔE00 3.37
Bright Olive
#9CBB04
ΔE00 3.53
Barf Green
#94AC02
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B416 #2416B4
analogous
#B47316 #A6B416 #57B416
triadic
#A6B416 #16A6B4 #B416A6
tetradic
#A6B416 #16B473 #2416B4 #B41657
square
#A6B416 #16B473 #2416B4 #B41657
split-complementary
#A6B416 #1657B4 #7316B4
monochromatic
#414709 #747D0F #A6B416 #D3E423 #DEEB5A
Accessibility & contrast
On white
2.29
#A6B416 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A6B416 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B416
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B416 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B416 | 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)
#C1AC2A
Tritanopia (blue-blind)
#B1A999
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b416; /* rgb */ color: rgb(166, 180, 22); /* oklch */ color: oklch(73.4% 0.162 115.3);
Tailwind
colors: {
custom: {
50: '#c5ca68',
500: '#a6b416',
950: '#000000',
},
}SCSS
$custom: #a6b416; $custom-light: #c5ca68; $custom-dark: #000000;
JSON
{
"hex": "#a6b416",
"rgb": {
"r": 166,
"g": 180,
"b": 22
},
"hsl": {
"h": 65.316,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.73412,
"c": 0.16214,
"h": 115.3
},
"luminance": 0.40807
}Semantic roles & 50–950 ramp
primary
#A6B416
secondary
#6258CE
accent
#33F544
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A