#56B138#56B138

#56B138 is a light, vivid green. Relative luminance 0.337; OKLCH L 68.0% C 0.180 H 139.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#56B138
RGBrgb(86, 177, 56)
HSLhsl(105, 52%, 46%)
HSVhsv(105, 68%, 69%)
CMYKcmyk(51.4%, 0%, 68.4%, 30.6%)
CIE-LABlab(64.73, -49.23, 51.49)
CIE-LCHlch(64.73, 71.24, 133.71°)
OKLaboklab(67.95% -0.1355 0.1178)
OKLCHoklch(67.95% 0.18 139)
XYZxyz(20.2729, 33.7067, 9.1784)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B138 #9338B1
analogous
#92B138 #56B138 #38B156
triadic
#56B138 #3856B1 #B13856
tetradic
#56B138 #3892B1 #9338B1 #B15638
square
#56B138 #3892B1 #9338B1 #B15638
split-complementary
#56B138 #5638B1 #B13892
monochromatic
#29541B #3F8329 #56B138 #77CB5B #9DDA8A

Accessibility & contrast

On white

2.71
#56B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#56B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B138
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B138#FFFFFF#000000##000000
##56B1381.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A227
Deuteranopia (green-blind)
#AA9A43
Tritanopia (blue-blind)
#4EAB99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #56b138;
/* rgb */ color: rgb(86, 177, 56);
/* oklch */ color: oklch(68.0% 0.180 139.0);
Tailwind
colors: {
  custom: {
    50: '#8ec975',
    500: '#56b138',
    950: '#000000',
  },
}
SCSS
$custom: #56b138;
$custom-light: #8ec975;
$custom-dark: #000000;
JSON
{
  "hex": "#56b138",
  "rgb": {
    "r": 86,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 105.124,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67951,
    "c": 0.17957,
    "h": 139
  },
  "luminance": 0.33708
}

Semantic roles & 50–950 ramp

primary
#56B138
secondary
#B381C4
accent
#4CDBB8
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #56B138

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#56B138 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva