#387C1B#387C1B

#387C1B is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.146 H 138.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#387C1B
RGBrgb(56, 124, 27)
HSLhsl(102, 64%, 30%)
HSVhsv(102, 78%, 49%)
CMYKcmyk(54.8%, 0%, 78.2%, 51.4%)
CIE-LABlab(46.09, -39.42, 43.34)
CIE-LCHlch(46.09, 58.59, 132.29°)
OKLaboklab(52.22% -0.1089 0.0971)
OKLCHoklch(52.22% 0.146 138.3)
XYZxyz(9.0360, 15.3345, 3.5204)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387C1B #5F1B7C
analogous
#697C1B #387C1B #1B7C2F
triadic
#387C1B #1B387C #7C1B38
tetradic
#387C1B #1B697C #5F1B7C #7C2F1B
square
#387C1B #1B697C #5F1B7C #7C2F1B
split-complementary
#387C1B #2F1B7C #7C1B69
monochromatic
#0B1905 #214A10 #387C1B #4FAE26 #6AD53D

Accessibility & contrast

On white

5.16
#387C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#387C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387C1B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387C1B#FFFFFF#000000##FFFFFF
##387C1B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807106
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#32776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #387c1b;
/* rgb */ color: rgb(56, 124, 27);
/* oklch */ color: oklch(52.2% 0.146 138.3);
Tailwind
colors: {
  custom: {
    50: '#76a25f',
    500: '#387c1b',
    950: '#000000',
  },
}
SCSS
$custom: #387c1b;
$custom-light: #76a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#387c1b",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 102.062,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.14593,
    "h": 138.3
  },
  "luminance": 0.15335
}

Semantic roles & 50–950 ramp

primary
#387C1B
secondary
#8F43B0
accent
#41E7B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387C1B

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

Preview Lab → · Contrast checker → · Palette generator →

#387C1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva