#A6B316#A6B316
#A6B316 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.161 H 115.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B316 |
|---|---|
| RGB | rgb(166, 179, 22) |
| HSL | hsl(65, 78%, 39%) |
| HSV | hsv(65, 88%, 70%) |
| CMYK | cmyk(7.3%, 0%, 87.7%, 29.8%) |
| CIE-LAB | lab(69.76, -21.84, 68.23) |
| CIE-LCH | lch(69.76, 71.64, 107.75°) |
| OKLab | oklab(73.18% -0.068 0.1461) |
| OKLCH | oklch(73.18% 0.161 115) |
| XYZ | xyz(31.9918, 40.4057, 6.8727) |
| Luminance | 0.4041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.94
Snot
#ACBB0D
ΔE00 2.27
Puke Green
#9AAE07
ΔE00 2.36
Booger Green
#96B403
ΔE00 3.53
Barf Green
#94AC02
ΔE00 3.54
Bright Olive
#9CBB04
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B316 #2316B3
analogous
#B37216 #A6B316 #58B316
triadic
#A6B316 #16A6B3 #B316A6
tetradic
#A6B316 #16B372 #2316B3 #B31658
square
#A6B316 #16B372 #2316B3 #B31658
split-complementary
#A6B316 #1658B3 #7216B3
monochromatic
#414609 #737C0F #A6B316 #D4E422 #DFEB59
Accessibility & contrast
On white
2.31
#A6B316 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A6B316 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B316
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B316 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B316 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1A900
Deuteranopia (green-blind)
#C0AC29
Tritanopia (blue-blind)
#B2A898
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b316; /* rgb */ color: rgb(166, 179, 22); /* oklch */ color: oklch(73.2% 0.161 115.0);
Tailwind
colors: {
custom: {
50: '#c5c968',
500: '#a6b316',
950: '#000000',
},
}SCSS
$custom: #a6b316; $custom-light: #c5c968; $custom-dark: #000000;
JSON
{
"hex": "#a6b316",
"rgb": {
"r": 166,
"g": 179,
"b": 22
},
"hsl": {
"h": 64.968,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.73184,
"c": 0.16111,
"h": 115
},
"luminance": 0.40405
}Semantic roles & 50–950 ramp
primary
#A6B316
secondary
#6157CE
accent
#33F543
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#131307
muted
#82827A