#387E1B#387E1B

#387E1B is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.148 H 138.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#387E1B
RGBrgb(56, 126, 27)
HSLhsl(102, 65%, 30%)
HSVhsv(102, 79%, 49%)
CMYKcmyk(55.6%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.77, -40.23, 44.00)
CIE-LCHlch(46.77, 59.61, 132.44°)
OKLaboklab(52.78% -0.1111 0.0985)
OKLCHoklch(52.78% 0.148 138.4)
XYZxyz(9.2892, 15.8409, 3.6048)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E1B #611B7E
analogous
#6A7E1B #387E1B #1B7E2F
triadic
#387E1B #1B387E #7E1B38
tetradic
#387E1B #1B6A7E #611B7E #7E2F1B
square
#387E1B #1B6A7E #611B7E #7E2F1B
split-complementary
#387E1B #2F1B7E #7E1B6A
monochromatic
#0B1905 #224C10 #387E1B #4EB026 #6AD63E

Accessibility & contrast

On white

5.04
#387E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#387E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E1B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E1B#FFFFFF#000000##FFFFFF
##387E1B1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e1b;
/* rgb */ color: rgb(56, 126, 27);
/* oklch */ color: oklch(52.8% 0.148 138.4);
Tailwind
colors: {
  custom: {
    50: '#77a45f',
    500: '#387e1b',
    950: '#000000',
  },
}
SCSS
$custom: #387e1b;
$custom-light: #77a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#387e1b",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 102.424,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.14846,
    "h": 138.4
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#387E1B
secondary
#9143B2
accent
#40E8B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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