#56A42C#56A42C
#56A42C is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 64.5% C 0.171 H 136.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #56A42C |
|---|---|
| RGB | rgb(86, 164, 44) |
| HSL | hsl(99, 58%, 41%) |
| HSV | hsv(99, 73%, 64%) |
| CMYK | cmyk(47.6%, 0%, 73.2%, 35.7%) |
| CIE-LAB | lab(60.52, -45.04, 51.83) |
| CIE-LCH | lch(60.52, 68.66, 130.99°) |
| OKLab | oklab(64.47% -0.125 0.1169) |
| OKLCH | oklch(64.47% 0.171 136.9) |
| XYZ | xyz(17.5673, 28.7100, 6.9983) |
| Luminance | 0.2871 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.37
Grass
#5CAC2D
ΔE00 2.50
Leaf Green
#5CA904
ΔE00 3.60
Grassy Green
#419C03
ΔE00 3.73
Grass Green
#3F9B0B
ΔE00 3.90
Mid Green
#50A747
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56A42C #7A2CA4
analogous
#92A42C #56A42C #2CA43E
triadic
#56A42C #2C56A4 #A42C56
tetradic
#56A42C #2C92A4 #7A2CA4 #A43E2C
square
#56A42C #2C92A4 #7A2CA4 #A43E2C
split-complementary
#56A42C #3E2CA4 #A42C92
monochromatic
#234312 #3D741F #56A42C #72CC41 #96D971
Accessibility & contrast
On white
3.11
#56A42C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#56A42C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #56A42C
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56A42C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##56A42C | 1.00 | 3.11 | 6.74 | 6.74 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9616
Deuteranopia (green-blind)
#9F9038
Tritanopia (blue-blind)
#529E8D
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #56a42c; /* rgb */ color: rgb(86, 164, 44); /* oklch */ color: oklch(64.5% 0.171 136.9);
Tailwind
colors: {
custom: {
50: '#8dbf6d',
500: '#56a42c',
950: '#000000',
},
}SCSS
$custom: #56a42c; $custom-light: #8dbf6d; $custom-dark: #000000;
JSON
{
"hex": "#56a42c",
"rgb": {
"r": 86,
"g": 164,
"b": 44
},
"hsl": {
"h": 99,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.64467,
"c": 0.17114,
"h": 136.9
},
"luminance": 0.28711
}Semantic roles & 50–950 ramp
primary
#56A42C
secondary
#A36BC0
accent
#47E1AB
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A