#A6B320#A6B320
#A6B320 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.158 H 115.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B320 |
|---|---|
| RGB | rgb(166, 179, 32) |
| HSL | hsl(65, 70%, 41%) |
| HSV | hsv(65, 82%, 70%) |
| CMYK | cmyk(7.3%, 0%, 82.1%, 29.8%) |
| CIE-LAB | lab(69.79, -21.56, 65.99) |
| CIE-LCH | lch(69.79, 69.43, 108.09°) |
| OKLab | oklab(73.22% -0.0666 0.1428) |
| OKLCH | oklch(73.22% 0.158 115) |
| XYZ | xyz(32.1077, 40.4521, 7.4829) |
| Luminance | 0.4045 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.44
Puke Green
#9AAE07
ΔE00 2.36
Snot
#ACBB0D
ΔE00 2.51
Booger Green
#96B403
ΔE00 3.48
Barf Green
#94AC02
ΔE00 3.49
Sick Green
#9DB92C
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B320 #2D20B3
analogous
#B37720 #A6B320 #5DB320
triadic
#A6B320 #20A6B3 #B320A6
tetradic
#A6B320 #20B377 #2D20B3 #B3205D
square
#A6B320 #20B377 #2D20B3 #B3205D
split-complementary
#A6B320 #205DB3 #7720B3
monochromatic
#464B0D #767F17 #A6B320 #CCDB35 #D9E469
Accessibility & contrast
On white
2.31
#A6B320 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#A6B320 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B320
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B320 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B320 | 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)
#C0AC2F
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b320; /* rgb */ color: rgb(166, 179, 32); /* oklch */ color: oklch(73.2% 0.158 115.0);
Tailwind
colors: {
custom: {
50: '#c4c96b',
500: '#a6b320',
950: '#000000',
},
}SCSS
$custom: #a6b320; $custom-light: #c4c96b; $custom-dark: #000000;
JSON
{
"hex": "#a6b320",
"rgb": {
"r": 166,
"g": 179,
"b": 32
},
"hsl": {
"h": 65.306,
"s": 69.668,
"l": 41.373
},
"oklch": {
"l": 0.73221,
"c": 0.15759,
"h": 115
},
"luminance": 0.40451
}Semantic roles & 50–950 ramp
primary
#A6B320
secondary
#6E65CA
accent
#3BEC4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A