#A6B334#A6B334
#A6B334 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.147 H 115.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B334 |
|---|---|
| RGB | rgb(166, 179, 52) |
| HSL | hsl(66, 55%, 45%) |
| HSV | hsv(66, 71%, 70%) |
| CMYK | cmyk(7.3%, 0%, 70.9%, 29.8%) |
| CIE-LAB | lab(69.89, -20.70, 59.78) |
| CIE-LCH | lch(69.89, 63.26, 109.10°) |
| OKLab | oklab(73.33% -0.0626 0.1331) |
| OKLCH | oklch(73.33% 0.147 115.2) |
| XYZ | xyz(32.4667, 40.5957, 9.3736) |
| Luminance | 0.4059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.05
Puke Green
#9AAE07
ΔE00 3.07
Sick Green
#9DB92C
ΔE00 3.25
Booger
#9BB53C
ΔE00 3.26
Snot
#ACBB0D
ΔE00 3.66
Sickly Green
#94B21C
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B334 #4134B3
analogous
#B38134 #A6B334 #66B334
triadic
#A6B334 #34A6B3 #B334A6
tetradic
#A6B334 #34B381 #4134B3 #B33466
square
#A6B334 #34B381 #4134B3 #B33466
split-complementary
#A6B334 #3466B3 #8134B3
monochromatic
#4E5418 #7A8426 #A6B334 #C2CE56 #D3DC86
Accessibility & contrast
On white
2.30
#A6B334 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#A6B334 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B334
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B334 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B334 | 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)
#C0AA1E
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b334; /* rgb */ color: rgb(166, 179, 52); /* oklch */ color: oklch(73.3% 0.147 115.2);
Tailwind
colors: {
custom: {
50: '#c4c974',
500: '#a6b334',
950: '#000000',
},
}SCSS
$custom: #a6b334; $custom-light: #c4c974; $custom-dark: #000000;
JSON
{
"hex": "#a6b334",
"rgb": {
"r": 166,
"g": 179,
"b": 52
},
"hsl": {
"h": 66.142,
"s": 54.978,
"l": 45.294
},
"oklch": {
"l": 0.73334,
"c": 0.14711,
"h": 115.2
},
"luminance": 0.40595
}Semantic roles & 50–950 ramp
primary
#A6B334
secondary
#857DC5
accent
#49DE59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B