#387F15#387F15

#387F15 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.153 H 138.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#387F15
RGBrgb(56, 127, 21)
HSLhsl(100, 72%, 29%)
HSVhsv(100, 83%, 50%)
CMYKcmyk(55.9%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.07, -41.00, 46.27)
CIE-LCHlch(47.07, 61.82, 131.54°)
OKLaboklab(53.02% -0.1135 0.1023)
OKLCHoklch(53.02% 0.153 138)
XYZxyz(9.3553, 16.0729, 3.3187)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F15 #5C157F
analogous
#6D7F15 #387F15 #157F27
triadic
#387F15 #15387F #7F1538
tetradic
#387F15 #156D7F #5C157F #7F2715
square
#387F15 #156D7F #5C157F #7F2715
split-complementary
#387F15 #27157F #7F156D
monochromatic
#0C1A04 #214A0C #387F15 #4FB41E #6ADD31

Accessibility & contrast

On white

4.98
#387F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#387F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F15
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F15#FFFFFF#000000##FFFFFF
##387F151.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f15;
/* rgb */ color: rgb(56, 127, 21);
/* oklch */ color: oklch(53.0% 0.153 138.0);
Tailwind
colors: {
  custom: {
    50: '#77a55d',
    500: '#387f15',
    950: '#000000',
  },
}
SCSS
$custom: #387f15;
$custom-light: #77a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#387f15",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 100.189,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.15281,
    "h": 138
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#387F15
secondary
#8C3CB4
accent
#39EEB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387F15

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

Preview Lab → · Contrast checker → · Palette generator →

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