#A6B20D#A6B20D
#A6B20D is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.162 H 114.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B20D |
|---|---|
| RGB | rgb(166, 178, 13) |
| HSL | hsl(64, 86%, 37%) |
| HSV | hsv(64, 93%, 70%) |
| CMYK | cmyk(6.7%, 0%, 92.7%, 30.2%) |
| CIE-LAB | lab(69.45, -21.52, 69.47) |
| CIE-LCH | lch(69.45, 72.72, 107.21°) |
| OKLab | oklab(72.93% -0.0675 0.1476) |
| OKLCH | oklch(72.93% 0.162 114.6) |
| XYZ | xyz(31.7200, 39.9775, 6.4262) |
| Luminance | 0.3998 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.90
Puke Green
#9AAE07
ΔE00 2.43
Snot
#ACBB0D
ΔE00 2.45
Barf Green
#94AC02
ΔE00 3.61
Booger Green
#96B403
ΔE00 3.79
Bright Olive
#9CBB04
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B20D #190DB2
analogous
#B26C0D #A6B20D #53B20D
triadic
#A6B20D #0DA6B2 #B20DA6
tetradic
#A6B20D #0DB26C #190DB2 #B20D53
square
#A6B20D #0DB26C #190DB2 #B20D53
split-complementary
#A6B20D #0D53B2 #6C0DB2
monochromatic
#3C4005 #717909 #A6B20D #DBEB11 #E5F248
Accessibility & contrast
On white
2.33
#A6B20D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#A6B20D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B20D
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B20D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B20D | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A800
Deuteranopia (green-blind)
#BFAB25
Tritanopia (blue-blind)
#B2A797
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b20d; /* rgb */ color: rgb(166, 178, 13); /* oklch */ color: oklch(72.9% 0.162 114.6);
Tailwind
colors: {
custom: {
50: '#c5c865',
500: '#a6b20d',
950: '#000000',
},
}SCSS
$custom: #a6b20d; $custom-light: #c5c865; $custom-dark: #000000;
JSON
{
"hex": "#a6b20d",
"rgb": {
"r": 166,
"g": 178,
"b": 13
},
"hsl": {
"h": 64.364,
"s": 86.387,
"l": 37.451
},
"oklch": {
"l": 0.72933,
"c": 0.16231,
"h": 114.6
},
"luminance": 0.39977
}Semantic roles & 50–950 ramp
primary
#A6B20D
secondary
#5349D2
accent
#2BFD3A
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#131307
muted
#82827A