#A6B321#A6B321
#A6B321 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.157 H 115.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B321 |
|---|---|
| RGB | rgb(166, 179, 33) |
| HSL | hsl(65, 69%, 42%) |
| HSV | hsv(65, 82%, 70%) |
| CMYK | cmyk(7.3%, 0%, 81.6%, 29.8%) |
| CIE-LAB | lab(69.79, -21.53, 65.74) |
| CIE-LCH | lch(69.79, 69.17, 108.13°) |
| OKLab | oklab(73.22% -0.0665 0.1424) |
| OKLCH | oklch(73.22% 0.157 115) |
| XYZ | xyz(32.1215, 40.4576, 7.5555) |
| Luminance | 0.4046 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.50
Puke Green
#9AAE07
ΔE00 2.37
Snot
#ACBB0D
ΔE00 2.55
Booger Green
#96B403
ΔE00 3.49
Barf Green
#94AC02
ΔE00 3.49
Sick Green
#9DB92C
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B321 #2E21B3
analogous
#B37721 #A6B321 #5DB321
triadic
#A6B321 #21A6B3 #B321A6
tetradic
#A6B321 #21B377 #2E21B3 #B3215D
square
#A6B321 #21B377 #2E21B3 #B3215D
split-complementary
#A6B321 #215DB3 #7721B3
monochromatic
#464C0E #767F17 #A6B321 #CCDA37 #D9E46B
Accessibility & contrast
On white
2.31
#A6B321 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#A6B321 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B321
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B321 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B321 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC30
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b321; /* rgb */ color: rgb(166, 179, 33); /* oklch */ color: oklch(73.2% 0.157 115.0);
Tailwind
colors: {
custom: {
50: '#c4c96b',
500: '#a6b321',
950: '#000000',
},
}SCSS
$custom: #a6b321; $custom-light: #c4c96b; $custom-dark: #000000;
JSON
{
"hex": "#a6b321",
"rgb": {
"r": 166,
"g": 179,
"b": 33
},
"hsl": {
"h": 65.342,
"s": 68.868,
"l": 41.569
},
"oklch": {
"l": 0.73225,
"c": 0.15718,
"h": 115
},
"luminance": 0.40457
}Semantic roles & 50–950 ramp
primary
#A6B321
secondary
#6F66CA
accent
#3CEC4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A