#387D19#387D19

#387D19 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.148 H 138.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#387D19
RGBrgb(56, 125, 25)
HSLhsl(101, 67%, 29%)
HSVhsv(101, 80%, 49%)
CMYKcmyk(55.2%, 0%, 80%, 51%)
CIE-LABlab(46.42, -39.96, 44.36)
CIE-LCHlch(46.42, 59.70, 132.02°)
OKLaboklab(52.48% -0.1105 0.0989)
OKLCHoklch(52.48% 0.148 138.2)
XYZxyz(9.1396, 15.5775, 3.4446)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D19 #5E197D
analogous
#6A7D19 #387D19 #197D2C
triadic
#387D19 #19387D #7D1938
tetradic
#387D19 #196A7D #5E197D #7D2C19
square
#387D19 #196A7D #5E197D #7D2C19
split-complementary
#387D19 #2C197D #7D196A
monochromatic
#0B1A05 #214A0F #387D19 #4FB023 #6AD739

Accessibility & contrast

On white

5.10
#387D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#387D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D19
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D19#FFFFFF#000000##FFFFFF
##387D191.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817201
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#32786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d19;
/* rgb */ color: rgb(56, 125, 25);
/* oklch */ color: oklch(52.5% 0.148 138.2);
Tailwind
colors: {
  custom: {
    50: '#77a35e',
    500: '#387d19',
    950: '#000000',
  },
}
SCSS
$custom: #387d19;
$custom-light: #77a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#387d19",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 101.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.14832,
    "h": 138.2
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#387D19
secondary
#8E40B1
accent
#3EEAB4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387D19

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

Preview Lab → · Contrast checker → · Palette generator →

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