#387D1F#387D1F

#387D1F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.145 H 138.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#387D1F
RGBrgb(56, 125, 31)
HSLhsl(104, 60%, 31%)
HSVhsv(104, 75%, 49%)
CMYKcmyk(55.2%, 0%, 75.2%, 51%)
CIE-LABlab(46.45, -39.53, 42.19)
CIE-LCHlch(46.45, 57.81, 133.14°)
OKLaboklab(52.53% -0.1089 0.0953)
OKLCHoklch(52.53% 0.145 138.8)
XYZxyz(9.2115, 15.6062, 3.8229)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D1F #641F7D
analogous
#677D1F #387D1F #1F7D35
triadic
#387D1F #1F387D #7D1F38
tetradic
#387D1F #1F677D #641F7D #7D351F
square
#387D1F #1F677D #641F7D #7D351F
split-complementary
#387D1F #351F7D #7D1F67
monochromatic
#0C1B07 #224C13 #387D1F #4EAE2B #6BD145

Accessibility & contrast

On white

5.10
#387D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#387D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D1F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D1F#FFFFFF#000000##FFFFFF
##387D1F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d1f;
/* rgb */ color: rgb(56, 125, 31);
/* oklch */ color: oklch(52.5% 0.145 138.8);
Tailwind
colors: {
  custom: {
    50: '#76a361',
    500: '#387d1f',
    950: '#000000',
  },
}
SCSS
$custom: #387d1f;
$custom-light: #76a361;
$custom-dark: #000000;
JSON
{
  "hex": "#387d1f",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 104.043,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.14475,
    "h": 138.8
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#387D1F
secondary
#9448B0
accent
#44E3B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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