#A6B22D#A6B22D
#A6B22D is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.150 H 114.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B22D |
|---|---|
| RGB | rgb(166, 178, 45) |
| HSL | hsl(65, 60%, 44%) |
| HSV | hsv(65, 75%, 70%) |
| CMYK | cmyk(6.7%, 0%, 74.7%, 30.2%) |
| CIE-LAB | lab(69.57, -20.55, 61.93) |
| CIE-LCH | lch(69.57, 65.25, 108.36°) |
| OKLab | oklab(73.06% -0.0628 0.1364) |
| OKLCH | oklch(73.06% 0.15 114.7) |
| XYZ | xyz(32.1209, 40.1378, 8.5374) |
| Luminance | 0.4014 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.48
Puke Green
#9AAE07
ΔE00 2.68
Snot
#ACBB0D
ΔE00 3.35
Sick Green
#9DB92C
ΔE00 3.57
Barf Green
#94AC02
ΔE00 3.64
Booger
#9BB53C
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B22D #392DB2
analogous
#B27B2D #A6B22D #63B22D
triadic
#A6B22D #2DA6B2 #B22DA6
tetradic
#A6B22D #2DB27B #392DB2 #B22D63
square
#A6B22D #2DB27B #392DB2 #B22D63
split-complementary
#A6B22D #2D63B2 #7B2DB2
monochromatic
#4B5014 #788121 #A6B22D #C5D14B #D5DE7C
Accessibility & contrast
On white
2.33
#A6B22D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#A6B22D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B22D
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B22D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B22D | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA90F
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b22d; /* rgb */ color: rgb(166, 178, 45); /* oklch */ color: oklch(73.1% 0.150 114.7);
Tailwind
colors: {
custom: {
50: '#c4c870',
500: '#a6b22d',
950: '#000000',
},
}SCSS
$custom: #a6b22d; $custom-light: #c4c870; $custom-dark: #000000;
JSON
{
"hex": "#a6b22d",
"rgb": {
"r": 166,
"g": 178,
"b": 45
},
"hsl": {
"h": 65.414,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.73061,
"c": 0.15022,
"h": 114.7
},
"luminance": 0.40137
}Semantic roles & 50–950 ramp
primary
#A6B22D
secondary
#7C75C6
accent
#45E353
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B