#A6B333#A6B333
#A6B333 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.148 H 115.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B333 |
|---|---|
| RGB | rgb(166, 179, 51) |
| HSL | hsl(66, 56%, 45%) |
| HSV | hsv(66, 72%, 70%) |
| CMYK | cmyk(7.3%, 0%, 71.5%, 29.8%) |
| CIE-LAB | lab(69.89, -20.76, 60.14) |
| CIE-LCH | lch(69.89, 63.62, 109.04°) |
| OKLab | oklab(73.33% -0.0629 0.1337) |
| OKLCH | oklch(73.33% 0.148 115.2) |
| XYZ | xyz(32.4444, 40.5867, 9.2562) |
| Luminance | 0.4059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.95
Puke Green
#9AAE07
ΔE00 3.01
Sick Green
#9DB92C
ΔE00 3.25
Booger
#9BB53C
ΔE00 3.31
Snot
#ACBB0D
ΔE00 3.58
Sickly Green
#94B21C
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B333 #4033B3
analogous
#B38033 #A6B333 #66B333
triadic
#A6B333 #33A6B3 #B333A6
tetradic
#A6B333 #33B380 #4033B3 #B33366
square
#A6B333 #33B380 #4033B3 #B33366
split-complementary
#A6B333 #3366B3 #8033B3
monochromatic
#4E5418 #7A8325 #A6B333 #C2CE55 #D3DC84
Accessibility & contrast
On white
2.30
#A6B333 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#A6B333 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B333
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B333 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B333 | 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)
#C0AA1C
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b333; /* rgb */ color: rgb(166, 179, 51); /* oklch */ color: oklch(73.3% 0.148 115.2);
Tailwind
colors: {
custom: {
50: '#c4c973',
500: '#a6b333',
950: '#000000',
},
}SCSS
$custom: #a6b333; $custom-light: #c4c973; $custom-dark: #000000;
JSON
{
"hex": "#a6b333",
"rgb": {
"r": 166,
"g": 179,
"b": 51
},
"hsl": {
"h": 66.094,
"s": 55.652,
"l": 45.098
},
"oklch": {
"l": 0.73327,
"c": 0.14775,
"h": 115.2
},
"luminance": 0.40586
}Semantic roles & 50–950 ramp
primary
#A6B333
secondary
#847CC6
accent
#49DF58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B