#387E15#387E15

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

Color values

HEX#387E15
RGBrgb(56, 126, 21)
HSLhsl(100, 71%, 29%)
HSVhsv(100, 83%, 49%)
CMYKcmyk(55.6%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.73, -40.60, 45.95)
CIE-LCHlch(46.73, 61.32, 131.46°)
OKLaboklab(52.74% -0.1124 0.1017)
OKLCHoklch(52.74% 0.152 137.9)
XYZxyz(9.2268, 15.8159, 3.2759)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E15 #5B157E
analogous
#6D7E15 #387E15 #157E27
triadic
#387E15 #15387E #7E1538
tetradic
#387E15 #156D7E #5B157E #7E2715
square
#387E15 #156D7E #5B157E #7E2715
split-complementary
#387E15 #27157E #7E156D
monochromatic
#0C1A04 #214A0C #387E15 #4FB21E #6ADD31

Accessibility & contrast

On white

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

On black

4.16
#387E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387E15#FFFFFF#000000##FFFFFF
##387E151.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e15;
/* rgb */ color: rgb(56, 126, 21);
/* oklch */ color: oklch(52.7% 0.152 137.9);
Tailwind
colors: {
  custom: {
    50: '#77a45d',
    500: '#387e15',
    950: '#000000',
  },
}
SCSS
$custom: #387e15;
$custom-light: #77a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#387e15",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.15159,
    "h": 137.9
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#387E15
secondary
#8B3CB3
accent
#3AEEB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387E15

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

Preview Lab → · Contrast checker → · Palette generator →

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