#A6B317#A6B317
#A6B317 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 | #A6B317 |
|---|---|
| RGB | rgb(166, 179, 23) |
| HSL | hsl(65, 77%, 40%) |
| HSV | hsv(65, 87%, 70%) |
| CMYK | cmyk(7.3%, 0%, 87.2%, 29.8%) |
| CIE-LAB | lab(69.76, -21.82, 68.03) |
| CIE-LCH | lch(69.76, 71.44, 107.78°) |
| OKLab | oklab(73.19% -0.0678 0.1458) |
| OKLCH | oklch(73.19% 0.161 115) |
| XYZ | xyz(32.0017, 40.4097, 6.9245) |
| Luminance | 0.4041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.98
Snot
#ACBB0D
ΔE00 2.29
Puke Green
#9AAE07
ΔE00 2.36
Booger Green
#96B403
ΔE00 3.52
Barf Green
#94AC02
ΔE00 3.53
Bright Olive
#9CBB04
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B317 #2417B3
analogous
#B37217 #A6B317 #58B317
triadic
#A6B317 #17A6B3 #B317A6
tetradic
#A6B317 #17B372 #2417B3 #B31758
square
#A6B317 #17B372 #2417B3 #B31758
split-complementary
#A6B317 #1758B3 #7217B3
monochromatic
#414709 #747D10 #A6B317 #D3E324 #DEEA5B
Accessibility & contrast
On white
2.31
#A6B317 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A6B317 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B317
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B317 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B317 | 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)
#C0AC2A
Tritanopia (blue-blind)
#B2A898
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b317; /* rgb */ color: rgb(166, 179, 23); /* oklch */ color: oklch(73.2% 0.161 115.0);
Tailwind
colors: {
custom: {
50: '#c5c968',
500: '#a6b317',
950: '#000000',
},
}SCSS
$custom: #a6b317; $custom-light: #c5c968; $custom-dark: #000000;
JSON
{
"hex": "#a6b317",
"rgb": {
"r": 166,
"g": 179,
"b": 23
},
"hsl": {
"h": 65,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.73187,
"c": 0.16081,
"h": 115
},
"luminance": 0.40409
}Semantic roles & 50–950 ramp
primary
#A6B317
secondary
#6258CD
accent
#34F444
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A