#56A138#56A138

#56A138 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.8% C 0.159 H 138.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#56A138
RGBrgb(86, 161, 56)
HSLhsl(103, 48%, 43%)
HSVhsv(103, 65%, 63%)
CMYKcmyk(46.6%, 0%, 65.2%, 36.9%)
CIE-LABlab(59.66, -42.80, 46.04)
CIE-LCHlch(59.66, 62.87, 132.91°)
OKLaboklab(63.79% -0.1181 0.1063)
OKLCHoklch(63.79% 0.159 138)
XYZxyz(17.2959, 27.7526, 8.1860)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A138 #8338A1
analogous
#8BA138 #56A138 #38A14E
triadic
#56A138 #3856A1 #A13856
tetradic
#56A138 #388BA1 #8338A1 #A14E38
square
#56A138 #388BA1 #8338A1 #A14E38
split-complementary
#56A138 #4E38A1 #A1388B
monochromatic
#254618 #3E7428 #56A138 #73C353 #98D380

Accessibility & contrast

On white

3.21
#56A138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#56A138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A138
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A138#FFFFFF#000000##000000
##56A1381.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942B
Deuteranopia (green-blind)
#9C8D41
Tritanopia (blue-blind)
#519C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a138;
/* rgb */ color: rgb(86, 161, 56);
/* oklch */ color: oklch(63.8% 0.159 138.0);
Tailwind
colors: {
  custom: {
    50: '#8cbd73',
    500: '#56a138',
    950: '#000000',
  },
}
SCSS
$custom: #56a138;
$custom-light: #8cbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#56a138",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 102.857,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63791,
    "c": 0.1589,
    "h": 138
  },
  "luminance": 0.27754
}

Semantic roles & 50–950 ramp

primary
#56A138
secondary
#A978BC
accent
#50D8B1
background
#F8FBF7
surface
#F0F7ED
border
#CBD0C8
text
#0D1208
muted
#7D817B

Preview Lab

Preview with #56A138

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

Preview Lab → · Contrast checker → · Palette generator →

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