#A6B336#A6B336
#A6B336 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.146 H 115.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B336 |
|---|---|
| RGB | rgb(166, 179, 54) |
| HSL | hsl(66, 54%, 46%) |
| HSV | hsv(66, 70%, 70%) |
| CMYK | cmyk(7.3%, 0%, 69.8%, 29.8%) |
| CIE-LAB | lab(69.90, -20.60, 59.05) |
| CIE-LCH | lch(69.90, 62.54, 109.23°) |
| OKLab | oklab(73.35% -0.0621 0.1319) |
| OKLCH | oklch(73.35% 0.146 115.2) |
| XYZ | xyz(32.5127, 40.6141, 9.6159) |
| Luminance | 0.4061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.16
Puke Green
#9AAE07
ΔE00 3.21
Mustard Green
#A8B504
ΔE00 3.25
Sick Green
#9DB92C
ΔE00 3.27
Sickly Green
#94B21C
ΔE00 3.79
Snot
#ACBB0D
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B336 #4336B3
analogous
#B38136 #A6B336 #67B336
triadic
#A6B336 #36A6B3 #B336A6
tetradic
#A6B336 #36B381 #4336B3 #B33667
square
#A6B336 #36B381 #4336B3 #B33667
split-complementary
#A6B336 #3667B3 #8136B3
monochromatic
#4F551A #7A8428 #A6B336 #C1CD59 #D3DB88
Accessibility & contrast
On white
2.30
#A6B336 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#A6B336 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B336
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B336 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B336 | 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)
#C0AA22
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b336; /* rgb */ color: rgb(166, 179, 54); /* oklch */ color: oklch(73.3% 0.146 115.2);
Tailwind
colors: {
custom: {
50: '#c4c975',
500: '#a6b336',
950: '#000000',
},
}SCSS
$custom: #a6b336; $custom-light: #c4c975; $custom-dark: #000000;
JSON
{
"hex": "#a6b336",
"rgb": {
"r": 166,
"g": 179,
"b": 54
},
"hsl": {
"h": 66.24,
"s": 53.648,
"l": 45.686
},
"oklch": {
"l": 0.73349,
"c": 0.14581,
"h": 115.2
},
"luminance": 0.40614
}Semantic roles & 50–950 ramp
primary
#A6B336
secondary
#8780C5
accent
#4BDD5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B