#A6B337#A6B337
#A6B337 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.145 H 115.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B337 |
|---|---|
| RGB | rgb(166, 179, 55) |
| HSL | hsl(66, 53%, 46%) |
| HSV | hsv(66, 69%, 70%) |
| CMYK | cmyk(7.3%, 0%, 69.3%, 29.8%) |
| CIE-LAB | lab(69.91, -20.54, 58.67) |
| CIE-LCH | lch(69.91, 62.17, 109.29°) |
| OKLab | oklab(73.36% -0.0619 0.1313) |
| OKLCH | oklch(73.36% 0.145 115.2) |
| XYZ | xyz(32.5364, 40.6236, 9.7408) |
| Luminance | 0.4062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.12
Sick Green
#9DB92C
ΔE00 3.28
Puke Green
#9AAE07
ΔE00 3.28
Mustard Green
#A8B504
ΔE00 3.35
Sickly Green
#94B21C
ΔE00 3.82
Snot
#ACBB0D
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B337 #4437B3
analogous
#B38237 #A6B337 #68B337
triadic
#A6B337 #37A6B3 #B337A6
tetradic
#A6B337 #37B382 #4437B3 #B33768
square
#A6B337 #37B382 #4437B3 #B33768
split-complementary
#A6B337 #3768B3 #8237B3
monochromatic
#4F551A #7B8429 #A6B337 #C1CD5B #D2DB8A
Accessibility & contrast
On white
2.30
#A6B337 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#A6B337 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B337
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B337 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B337 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA23
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b337; /* rgb */ color: rgb(166, 179, 55); /* oklch */ color: oklch(73.4% 0.145 115.2);
Tailwind
colors: {
custom: {
50: '#c4c975',
500: '#a6b337',
950: '#000000',
},
}SCSS
$custom: #a6b337; $custom-light: #c4c975; $custom-dark: #000000;
JSON
{
"hex": "#a6b337",
"rgb": {
"r": 166,
"g": 179,
"b": 55
},
"hsl": {
"h": 66.29,
"s": 52.991,
"l": 45.882
},
"oklch": {
"l": 0.73356,
"c": 0.14515,
"h": 115.2
},
"luminance": 0.40623
}Semantic roles & 50–950 ramp
primary
#A6B337
secondary
#8881C5
accent
#4BDC5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B