#56AA27#56AA27
#56AA27 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.0% C 0.181 H 137.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #56AA27 |
|---|---|
| RGB | rgb(86, 170, 39) |
| HSL | hsl(98, 63%, 41%) |
| HSV | hsv(98, 77%, 67%) |
| CMYK | cmyk(49.4%, 0%, 77.1%, 33.3%) |
| CIE-LAB | lab(62.40, -47.76, 55.44) |
| CIE-LCH | lch(62.40, 73.17, 130.74°) |
| OKLab | oklab(66% -0.1326 0.1238) |
| OKLCH | oklch(66% 0.181 137) |
| XYZ | xyz(18.5781, 30.8731, 6.8992) |
| Luminance | 0.3087 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.90
Lawn Green
#4DA409
ΔE00 2.45
Leaf Green
#5CA904
ΔE00 2.58
Leaf
#71AA34
ΔE00 3.56
Kermit Green
#5CB200
ΔE00 3.58
Nasty Green
#70B23F
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56AA27 #7B27AA
analogous
#97AA27 #56AA27 #27AA39
triadic
#56AA27 #2756AA #AA2756
tetradic
#56AA27 #2797AA #7B27AA #AA3927
square
#56AA27 #2797AA #7B27AA #AA3927
split-complementary
#56AA27 #3927AA #AA2797
monochromatic
#244610 #3D781C #56AA27 #72D23C #96DE6E
Accessibility & contrast
On white
2.93
#56AA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#56AA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #56AA27
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56AA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##56AA27 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#51A491
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #56aa27; /* rgb */ color: rgb(86, 170, 39); /* oklch */ color: oklch(66.0% 0.181 137.0);
Tailwind
colors: {
custom: {
50: '#8ec46b',
500: '#56aa27',
950: '#000000',
},
}SCSS
$custom: #56aa27; $custom-light: #8ec46b; $custom-dark: #000000;
JSON
{
"hex": "#56aa27",
"rgb": {
"r": 86,
"g": 170,
"b": 39
},
"hsl": {
"h": 98.473,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.65999,
"c": 0.1814,
"h": 137
},
"luminance": 0.30874
}Semantic roles & 50–950 ramp
primary
#56AA27
secondary
#A369C4
accent
#42E6AB
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A