#A6C226#A6C226
#A6C226 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.7% C 0.171 H 120.0°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A6C226 |
|---|---|
| RGB | rgb(166, 194, 38) |
| HSL | hsl(71, 67%, 45%) |
| HSV | hsv(71, 80%, 76%) |
| CMYK | cmyk(14.4%, 0%, 80.4%, 23.9%) |
| CIE-LAB | lab(74.08, -28.65, 68.16) |
| CIE-LCH | lch(74.08, 73.94, 112.80°) |
| OKLab | oklab(76.68% -0.0857 0.1485) |
| OKLCH | oklch(76.68% 0.171 120) |
| XYZ | xyz(35.3683, 46.8307, 9.0093) |
| Luminance | 0.4683 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 0.82
Gross Green
#A0BF16
ΔE00 1.19
Snot Green
#9DC100
ΔE00 1.79
Bright Olive
#9CBB04
ΔE00 2.26
Sick Green
#9DB92C
ΔE00 2.71
Snot
#ACBB0D
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6C226 #4226C2
analogous
#C29026 #A6C226 #58C226
triadic
#A6C226 #26A6C2 #C226A6
tetradic
#A6C226 #26C290 #4226C2 #C22658
square
#A6C226 #26C290 #4226C2 #C22658
split-complementary
#A6C226 #2658C2 #9026C2
monochromatic
#4E5C12 #7A8F1C #A6C226 #C1DB4A #D3E67D
Accessibility & contrast
On white
2.03
#A6C226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#A6C226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6C226
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6C226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6C226 | 1.00 | 2.03 | 10.37 | 10.37 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CBB636
Tritanopia (blue-blind)
#B0B7A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #a6c226; /* rgb */ color: rgb(166, 194, 38); /* oklch */ color: oklch(76.7% 0.171 120.0);
Tailwind
colors: {
custom: {
50: '#c4d46f',
500: '#a6c226',
950: '#000000',
},
}SCSS
$custom: #a6c226; $custom-light: #c4d46f; $custom-dark: #000000;
JSON
{
"hex": "#a6c226",
"rgb": {
"r": 166,
"g": 194,
"b": 38
},
"hsl": {
"h": 70.769,
"s": 67.241,
"l": 45.49
},
"oklch": {
"l": 0.76681,
"c": 0.17142,
"h": 120
},
"luminance": 0.46831
}Semantic roles & 50–950 ramp
primary
#A6C226
secondary
#8676CE
accent
#3EEA5D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B