#A6B326#A6B326
#A6B326 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.155 H 115.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B326 |
|---|---|
| RGB | rgb(166, 179, 38) |
| HSL | hsl(66, 65%, 43%) |
| HSV | hsv(66, 79%, 70%) |
| CMYK | cmyk(7.3%, 0%, 78.8%, 29.8%) |
| CIE-LAB | lab(69.82, -21.35, 64.36) |
| CIE-LCH | lch(69.82, 67.81, 108.35°) |
| OKLab | oklab(73.25% -0.0656 0.1404) |
| OKLCH | oklch(73.25% 0.155 115) |
| XYZ | xyz(32.1968, 40.4877, 7.9522) |
| Luminance | 0.4049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.85
Puke Green
#9AAE07
ΔE00 2.45
Snot
#ACBB0D
ΔE00 2.76
Sick Green
#9DB92C
ΔE00 3.44
Booger Green
#96B403
ΔE00 3.52
Barf Green
#94AC02
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B326 #3326B3
analogous
#B37A26 #A6B326 #5FB326
triadic
#A6B326 #26A6B3 #B326A6
tetradic
#A6B326 #26B37A #3326B3 #B3265F
square
#A6B326 #26B37A #3326B3 #B3265F
split-complementary
#A6B326 #265FB3 #7A26B3
monochromatic
#484E11 #77811B #A6B326 #C9D640 #D7E172
Accessibility & contrast
On white
2.31
#A6B326 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#A6B326 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B326
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B326 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BFAC33
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b326; /* rgb */ color: rgb(166, 179, 38); /* oklch */ color: oklch(73.2% 0.155 115.0);
Tailwind
colors: {
custom: {
50: '#c4c96d',
500: '#a6b326',
950: '#000000',
},
}SCSS
$custom: #a6b326; $custom-light: #c4c96d; $custom-dark: #000000;
JSON
{
"hex": "#a6b326",
"rgb": {
"r": 166,
"g": 179,
"b": 38
},
"hsl": {
"h": 65.532,
"s": 64.977,
"l": 42.549
},
"oklch": {
"l": 0.73249,
"c": 0.15494,
"h": 115
},
"luminance": 0.40487
}Semantic roles & 50–950 ramp
primary
#A6B326
secondary
#756DC8
accent
#40E84F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B