#387E1E#387E1E

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

Color values

HEX#387E1E
RGBrgb(56, 126, 30)
HSLhsl(104, 62%, 31%)
HSVhsv(104, 76%, 49%)
CMYKcmyk(55.6%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.78, -40.01, 42.91)
CIE-LCHlch(46.78, 58.67, 133.00°)
OKLaboklab(52.8% -0.1103 0.0967)
OKLCHoklch(52.8% 0.147 138.8)
XYZxyz(9.3257, 15.8555, 3.7970)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E1E #641E7E
analogous
#687E1E #387E1E #1E7E34
triadic
#387E1E #1E387E #7E1E38
tetradic
#387E1E #1E687E #641E7E #7E341E
square
#387E1E #1E687E #641E7E #7E341E
split-complementary
#387E1E #341E7E #7E1E68
monochromatic
#0C1B06 #224D12 #387E1E #4EAF2A #6BD244

Accessibility & contrast

On white

5.03
#387E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #387E1E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E1E#FFFFFF#000000##FFFFFF
##387E1E1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#327A6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e1e;
/* rgb */ color: rgb(56, 126, 30);
/* oklch */ color: oklch(52.8% 0.147 138.8);
Tailwind
colors: {
  custom: {
    50: '#77a461',
    500: '#387e1e',
    950: '#000000',
  },
}
SCSS
$custom: #387e1e;
$custom-light: #77a461;
$custom-dark: #000000;
JSON
{
  "hex": "#387e1e",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 103.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.14667,
    "h": 138.8
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#387E1E
secondary
#9447B1
accent
#43E5B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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