#A6B318#A6B318
#A6B318 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.160 H 115.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B318 |
|---|---|
| RGB | rgb(166, 179, 24) |
| HSL | hsl(65, 76%, 40%) |
| HSV | hsv(65, 87%, 70%) |
| CMYK | cmyk(7.3%, 0%, 86.6%, 29.8%) |
| CIE-LAB | lab(69.76, -21.79, 67.83) |
| CIE-LCH | lch(69.76, 71.24, 107.81°) |
| OKLab | oklab(73.19% -0.0677 0.1455) |
| OKLCH | oklch(73.19% 0.16 115) |
| XYZ | xyz(32.0119, 40.4137, 6.9783) |
| Luminance | 0.4041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.02
Snot
#ACBB0D
ΔE00 2.30
Puke Green
#9AAE07
ΔE00 2.35
Booger Green
#96B403
ΔE00 3.51
Barf Green
#94AC02
ΔE00 3.52
Bright Olive
#9CBB04
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B318 #2518B3
analogous
#B37218 #A6B318 #59B318
triadic
#A6B318 #18A6B3 #B318A6
tetradic
#A6B318 #18B372 #2518B3 #B31859
square
#A6B318 #18B372 #2518B3 #B31859
split-complementary
#A6B318 #1859B3 #7218B3
monochromatic
#42470A #747D11 #A6B318 #D2E226 #DDE95C
Accessibility & contrast
On white
2.31
#A6B318 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A6B318 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B318
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B318 | 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)
#C0AC2B
Tritanopia (blue-blind)
#B2A898
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b318; /* rgb */ color: rgb(166, 179, 24); /* oklch */ color: oklch(73.2% 0.160 115.0);
Tailwind
colors: {
custom: {
50: '#c5c968',
500: '#a6b318',
950: '#000000',
},
}SCSS
$custom: #a6b318; $custom-light: #c5c968; $custom-dark: #000000;
JSON
{
"hex": "#a6b318",
"rgb": {
"r": 166,
"g": 179,
"b": 24
},
"hsl": {
"h": 65.032,
"s": 76.355,
"l": 39.804
},
"oklch": {
"l": 0.7319,
"c": 0.16049,
"h": 115
},
"luminance": 0.40413
}Semantic roles & 50–950 ramp
primary
#A6B318
secondary
#645ACD
accent
#35F345
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A