#56AF38#56AF38
#56AF38 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.4% C 0.177 H 138.9°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #56AF38 |
|---|---|
| RGB | rgb(86, 175, 56) |
| HSL | hsl(105, 52%, 45%) |
| HSV | hsv(105, 68%, 69%) |
| CMYK | cmyk(50.9%, 0%, 68%, 31.4%) |
| CIE-LAB | lab(64.10, -48.45, 50.83) |
| CIE-LCH | lch(64.10, 70.22, 133.63°) |
| OKLab | oklab(67.43% -0.1334 0.1164) |
| OKLCH | oklch(67.43% 0.177 138.9) |
| XYZ | xyz(19.8808, 32.9224, 9.0477) |
| Luminance | 0.3292 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.81
Leafy Green
#51B73B
ΔE00 2.31
Nasty Green
#70B23F
ΔE00 3.29
Mid Green
#50A747
ΔE00 3.78
Fern (survey)
#63A950
ΔE00 4.11
Green (survey)
#15B01A
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56AF38 #9138AF
analogous
#91AF38 #56AF38 #38AF55
triadic
#56AF38 #3856AF #AF3856
tetradic
#56AF38 #3891AF #9138AF #AF5538
square
#56AF38 #3891AF #9138AF #AF5538
split-complementary
#56AF38 #5538AF #AF3891
monochromatic
#28521A #3F8129 #56AF38 #76CA5A #9DD988
Accessibility & contrast
On white
2.77
#56AF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#56AF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #56AF38
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56AF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##56AF38 | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#A89843
Tritanopia (blue-blind)
#4EA997
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #56af38; /* rgb */ color: rgb(86, 175, 56); /* oklch */ color: oklch(67.4% 0.177 138.9);
Tailwind
colors: {
custom: {
50: '#8ec775',
500: '#56af38',
950: '#000000',
},
}SCSS
$custom: #56af38; $custom-light: #8ec775; $custom-dark: #000000;
JSON
{
"hex": "#56af38",
"rgb": {
"r": 86,
"g": 175,
"b": 56
},
"hsl": {
"h": 104.874,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.67432,
"c": 0.17705,
"h": 138.9
},
"luminance": 0.32924
}Semantic roles & 50–950 ramp
primary
#56AF38
secondary
#B280C3
accent
#4DDBB7
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1309
muted
#7E827B