#387F1D#387F1D

#387F1D is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.149 H 138.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#387F1D
RGBrgb(56, 127, 29)
HSLhsl(103, 63%, 31%)
HSVhsv(103, 77%, 50%)
CMYKcmyk(55.9%, 0%, 77.2%, 50.2%)
CIE-LABlab(47.12, -40.48, 43.61)
CIE-LCHlch(47.12, 59.50, 132.87°)
OKLaboklab(53.07% -0.1116 0.098)
OKLCHoklch(53.07% 0.149 138.7)
XYZxyz(9.4417, 16.1074, 3.7737)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F1D #641D7F
analogous
#697F1D #387F1D #1D7F33
triadic
#387F1D #1D387F #7F1D38
tetradic
#387F1D #1D697F #641D7F #7F331D
square
#387F1D #1D697F #641D7F #7F331D
split-complementary
#387F1D #331D7F #7F1D69
monochromatic
#0C1B06 #224D12 #387F1D #4EB128 #6BD442

Accessibility & contrast

On white

4.97
#387F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#387F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F1D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F1D#FFFFFF#000000##FFFFFF
##387F1D1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837308
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#317A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f1d;
/* rgb */ color: rgb(56, 127, 29);
/* oklch */ color: oklch(53.1% 0.149 138.7);
Tailwind
colors: {
  custom: {
    50: '#77a560',
    500: '#387f1d',
    950: '#000000',
  },
}
SCSS
$custom: #387f1d;
$custom-light: #77a560;
$custom-dark: #000000;
JSON
{
  "hex": "#387f1d",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 103.469,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.14855,
    "h": 138.7
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#387F1D
secondary
#9445B2
accent
#42E6B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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