#A6B31A#A6B31A
#A6B31A 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 | #A6B31A |
|---|---|
| RGB | rgb(166, 179, 26) |
| HSL | hsl(65, 75%, 40%) |
| HSV | hsv(65, 85%, 70%) |
| CMYK | cmyk(7.3%, 0%, 85.5%, 29.8%) |
| CIE-LAB | lab(69.77, -21.74, 67.41) |
| CIE-LCH | lch(69.77, 70.83, 107.87°) |
| OKLab | oklab(73.2% -0.0675 0.1449) |
| OKLCH | oklch(73.2% 0.16 115) |
| XYZ | xyz(32.0334, 40.4224, 7.0919) |
| Luminance | 0.4042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.12
Snot
#ACBB0D
ΔE00 2.34
Puke Green
#9AAE07
ΔE00 2.35
Booger Green
#96B403
ΔE00 3.50
Barf Green
#94AC02
ΔE00 3.51
Sick Green
#9DB92C
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B31A #271AB3
analogous
#B3731A #A6B31A #59B31A
triadic
#A6B31A #1AA6B3 #B31AA6
tetradic
#A6B31A #1AB373 #271AB3 #B31A59
square
#A6B31A #1AB373 #271AB3 #B31A59
split-complementary
#A6B31A #1A59B3 #731AB3
monochromatic
#43480A #747E12 #A6B31A #D1E02A #DCE860
Accessibility & contrast
On white
2.31
#A6B31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A6B31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B31A
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B31A | 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)
#C0AC2C
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b31a; /* rgb */ color: rgb(166, 179, 26); /* oklch */ color: oklch(73.2% 0.160 115.0);
Tailwind
colors: {
custom: {
50: '#c5c969',
500: '#a6b31a',
950: '#000000',
},
}SCSS
$custom: #a6b31a; $custom-light: #c5c969; $custom-dark: #000000;
JSON
{
"hex": "#a6b31a",
"rgb": {
"r": 166,
"g": 179,
"b": 26
},
"hsl": {
"h": 65.098,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.73197,
"c": 0.15983,
"h": 115
},
"luminance": 0.40422
}Semantic roles & 50–950 ramp
primary
#A6B31A
secondary
#665DCC
accent
#37F146
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A