#387E1C#387E1C

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

Color values

HEX#387E1C
RGBrgb(56, 126, 28)
HSLhsl(103, 64%, 30%)
HSVhsv(103, 78%, 49%)
CMYKcmyk(55.6%, 0%, 77.8%, 50.6%)
CIE-LABlab(46.77, -40.16, 43.64)
CIE-LCHlch(46.77, 59.30, 132.62°)
OKLaboklab(52.78% -0.1108 0.0979)
OKLCHoklch(52.78% 0.148 138.6)
XYZxyz(9.3010, 15.8456, 3.6668)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E1C #621C7E
analogous
#697E1C #387E1C #1C7E31
triadic
#387E1C #1C387E #7E1C38
tetradic
#387E1C #1C697E #621C7E #7E311C
square
#387E1C #1C697E #621C7E #7E311C
split-complementary
#387E1C #311C7E #7E1C69
monochromatic
#0B1A06 #224C11 #387E1C #4EB027 #6AD540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387E1C#FFFFFF#000000##FFFFFF
##387E1C1.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)
#827207
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e1c;
/* rgb */ color: rgb(56, 126, 28);
/* oklch */ color: oklch(52.8% 0.148 138.6);
Tailwind
colors: {
  custom: {
    50: '#77a460',
    500: '#387e1c',
    950: '#000000',
  },
}
SCSS
$custom: #387e1c;
$custom-light: #77a460;
$custom-dark: #000000;
JSON
{
  "hex": "#387e1c",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 102.857,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.14788,
    "h": 138.6
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#387E1C
secondary
#9244B2
accent
#41E7B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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