#387A1D#387A1D

#387A1D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.7% C 0.142 H 138.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#387A1D
RGBrgb(56, 122, 29)
HSLhsl(103, 62%, 30%)
HSVhsv(103, 76%, 48%)
CMYKcmyk(54.1%, 0%, 76.2%, 52.2%)
CIE-LABlab(45.43, -38.47, 41.93)
CIE-LCHlch(45.43, 56.90, 132.53°)
OKLaboklab(51.68% -0.1062 0.0945)
OKLCHoklch(51.68% 0.142 138.3)
XYZxyz(8.8119, 14.8479, 3.5637)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A1D #5F1D7A
analogous
#667A1D #387A1D #1D7A31
triadic
#387A1D #1D387A #7A1D38
tetradic
#387A1D #1D667A #5F1D7A #7A311D
square
#387A1D #1D667A #5F1D7A #7A311D
split-complementary
#387A1D #311D7A #7A1D66
monochromatic
#0B1906 #214911 #387A1D #4FAB29 #6AD240

Accessibility & contrast

On white

5.29
#387A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#387A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A1D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A1D#FFFFFF#000000##FFFFFF
##387A1D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387a1d;
/* rgb */ color: rgb(56, 122, 29);
/* oklch */ color: oklch(51.7% 0.142 138.3);
Tailwind
colors: {
  custom: {
    50: '#76a160',
    500: '#387a1d',
    950: '#000000',
  },
}
SCSS
$custom: #387a1d;
$custom-light: #76a160;
$custom-dark: #000000;
JSON
{
  "hex": "#387a1d",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 102.581,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.14214,
    "h": 138.3
  },
  "luminance": 0.14849
}

Semantic roles & 50–950 ramp

primary
#387A1D
secondary
#8F45AE
accent
#43E5B6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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