#387E1D#387E1D

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

Color values

HEX#387E1D
RGBrgb(56, 126, 29)
HSLhsl(103, 63%, 30%)
HSVhsv(103, 77%, 49%)
CMYKcmyk(55.6%, 0%, 77%, 50.6%)
CIE-LABlab(46.78, -40.08, 43.28)
CIE-LCHlch(46.78, 58.99, 132.81°)
OKLaboklab(52.79% -0.1106 0.0973)
OKLCHoklch(52.79% 0.147 138.7)
XYZxyz(9.3132, 15.8504, 3.7308)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E1D #631D7E
analogous
#687E1D #387E1D #1D7E32
triadic
#387E1D #1D387E #7E1D38
tetradic
#387E1D #1D687E #631D7E #7E321D
square
#387E1D #1D687E #631D7E #7E321D
split-complementary
#387E1D #321D7E #7E1D68
monochromatic
#0C1B06 #224C12 #387E1D #4EB028 #6AD342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387E1D#FFFFFF#000000##FFFFFF
##387E1D1.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)
#827209
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#327A6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e1d;
/* rgb */ color: rgb(56, 126, 29);
/* oklch */ color: oklch(52.8% 0.147 138.7);
Tailwind
colors: {
  custom: {
    50: '#77a460',
    500: '#387e1d',
    950: '#000000',
  },
}
SCSS
$custom: #387e1d;
$custom-light: #77a460;
$custom-dark: #000000;
JSON
{
  "hex": "#387e1d",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 103.299,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.14728,
    "h": 138.7
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#387E1D
secondary
#9345B1
accent
#42E6B8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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