#A7C226#A7C226
#A7C226 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.8% C 0.171 H 119.6°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A7C226 |
|---|---|
| RGB | rgb(167, 194, 38) |
| HSL | hsl(70, 67%, 45%) |
| HSV | hsv(70, 80%, 76%) |
| CMYK | cmyk(13.9%, 0%, 80.4%, 23.9%) |
| CIE-LAB | lab(74.15, -28.23, 68.25) |
| CIE-LCH | lch(74.15, 73.86, 112.47°) |
| OKLab | oklab(76.76% -0.0846 0.1486) |
| OKLCH | oklch(76.76% 0.171 119.6) |
| XYZ | xyz(35.5788, 46.9392, 9.0192) |
| Luminance | 0.4694 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 0.82
Gross Green
#A0BF16
ΔE00 1.30
Snot Green
#9DC100
ΔE00 1.92
Bright Olive
#9CBB04
ΔE00 2.33
Sick Green
#9DB92C
ΔE00 2.80
Snot
#ACBB0D
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7C226 #4126C2
analogous
#C28F26 #A7C226 #59C226
triadic
#A7C226 #26A7C2 #C226A7
tetradic
#A7C226 #26C28F #4126C2 #C22659
square
#A7C226 #26C28F #4126C2 #C22659
split-complementary
#A7C226 #2659C2 #8F26C2
monochromatic
#4F5C12 #7B8F1C #A7C226 #C2DB4A #D3E67D
Accessibility & contrast
On white
2.02
#A7C226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.39
#A7C226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7C226
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7C226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7C226 | 1.00 | 2.02 | 10.39 | 10.39 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CCB736
Tritanopia (blue-blind)
#B1B7A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #a7c226; /* rgb */ color: rgb(167, 194, 38); /* oklch */ color: oklch(76.8% 0.171 119.6);
Tailwind
colors: {
custom: {
50: '#c5d46f',
500: '#a7c226',
950: '#000000',
},
}SCSS
$custom: #a7c226; $custom-light: #c5d46f; $custom-dark: #000000;
JSON
{
"hex": "#a7c226",
"rgb": {
"r": 167,
"g": 194,
"b": 38
},
"hsl": {
"h": 70.385,
"s": 67.241,
"l": 45.49
},
"oklch": {
"l": 0.76755,
"c": 0.17101,
"h": 119.6
},
"luminance": 0.46939
}Semantic roles & 50–950 ramp
primary
#A7C226
secondary
#8576CE
accent
#3EEA5C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B