#A6B327#A6B327
#A6B327 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.154 H 115.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B327 |
|---|---|
| RGB | rgb(166, 179, 39) |
| HSL | hsl(66, 64%, 43%) |
| HSV | hsv(66, 78%, 70%) |
| CMYK | cmyk(7.3%, 0%, 78.2%, 29.8%) |
| CIE-LAB | lab(69.82, -21.31, 64.07) |
| CIE-LCH | lch(69.82, 67.52, 108.40°) |
| OKLab | oklab(73.25% -0.0654 0.1399) |
| OKLCH | oklch(73.25% 0.154 115.1) |
| XYZ | xyz(32.2131, 40.4942, 8.0383) |
| Luminance | 0.4049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.92
Puke Green
#9AAE07
ΔE00 2.48
Snot
#ACBB0D
ΔE00 2.81
Sick Green
#9DB92C
ΔE00 3.42
Booger Green
#96B403
ΔE00 3.53
Barf Green
#94AC02
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B327 #3427B3
analogous
#B37A27 #A6B327 #60B327
triadic
#A6B327 #27A6B3 #B327A6
tetradic
#A6B327 #27B37A #3427B3 #B32760
square
#A6B327 #27B37A #3427B3 #B32760
split-complementary
#A6B327 #2760B3 #7A27B3
monochromatic
#494E11 #77811C #A6B327 #C8D641 #D7E174
Accessibility & contrast
On white
2.31
#A6B327 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#A6B327 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B327
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B327 | 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)
#BFAC34
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b327; /* rgb */ color: rgb(166, 179, 39); /* oklch */ color: oklch(73.3% 0.154 115.1);
Tailwind
colors: {
custom: {
50: '#c4c96e',
500: '#a6b327',
950: '#000000',
},
}SCSS
$custom: #a6b327; $custom-light: #c4c96e; $custom-dark: #000000;
JSON
{
"hex": "#a6b327",
"rgb": {
"r": 166,
"g": 179,
"b": 39
},
"hsl": {
"h": 65.571,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.73254,
"c": 0.15445,
"h": 115.1
},
"luminance": 0.40494
}Semantic roles & 50–950 ramp
primary
#A6B327
secondary
#766EC8
accent
#41E750
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B