#A6B22B#A6B22B
#A6B22B is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.151 H 114.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B22B |
|---|---|
| RGB | rgb(166, 178, 43) |
| HSL | hsl(65, 61%, 43%) |
| HSV | hsv(65, 76%, 70%) |
| CMYK | cmyk(6.7%, 0%, 75.8%, 30.2%) |
| CIE-LAB | lab(69.56, -20.64, 62.58) |
| CIE-LCH | lch(69.56, 65.89, 108.26°) |
| OKLab | oklab(73.05% -0.0632 0.1375) |
| OKLCH | oklch(73.05% 0.151 114.7) |
| XYZ | xyz(32.0833, 40.1228, 8.3394) |
| Luminance | 0.4012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.31
Puke Green
#9AAE07
ΔE00 2.59
Snot
#ACBB0D
ΔE00 3.23
Barf Green
#94AC02
ΔE00 3.59
Sick Green
#9DB92C
ΔE00 3.60
Booger Green
#96B403
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B22B #372BB2
analogous
#B27A2B #A6B22B #62B22B
triadic
#A6B22B #2BA6B2 #B22BA6
tetradic
#A6B22B #2BB27A #372BB2 #B22B62
square
#A6B22B #2BB27A #372BB2 #B22B62
split-complementary
#A6B22B #2B62B2 #7A2BB2
monochromatic
#4A4F13 #78811F #A6B22B #C6D348 #D6DF79
Accessibility & contrast
On white
2.33
#A6B22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#A6B22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B22B
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B22B | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA908
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b22b; /* rgb */ color: rgb(166, 178, 43); /* oklch */ color: oklch(73.0% 0.151 114.7);
Tailwind
colors: {
custom: {
50: '#c4c86f',
500: '#a6b22b',
950: '#000000',
},
}SCSS
$custom: #a6b22b; $custom-light: #c4c86f; $custom-dark: #000000;
JSON
{
"hex": "#a6b22b",
"rgb": {
"r": 166,
"g": 178,
"b": 43
},
"hsl": {
"h": 65.333,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.73049,
"c": 0.15132,
"h": 114.7
},
"luminance": 0.40122
}Semantic roles & 50–950 ramp
primary
#A6B22B
secondary
#7A72C7
accent
#44E452
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B