#387B19#387B19

#387B19 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.146 H 138.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#387B19
RGBrgb(56, 123, 25)
HSLhsl(101, 66%, 29%)
HSVhsv(101, 80%, 48%)
CMYKcmyk(54.5%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.74, -39.16, 43.71)
CIE-LCHlch(45.74, 58.68, 131.86°)
OKLaboklab(51.93% -0.1083 0.0976)
OKLCHoklch(51.93% 0.146 138)
XYZxyz(8.8890, 15.0762, 3.3611)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B19 #5C197B
analogous
#697B19 #387B19 #197B2B
triadic
#387B19 #19387B #7B1938
tetradic
#387B19 #19697B #5C197B #7B2B19
square
#387B19 #19697B #5C197B #7B2B19
split-complementary
#387B19 #2B197B #7B1969
monochromatic
#0C1905 #21480F #387B19 #4FAE23 #6AD738

Accessibility & contrast

On white

5.23
#387B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#387B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B19
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B19#FFFFFF#000000##FFFFFF
##387B191.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#337669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b19;
/* rgb */ color: rgb(56, 123, 25);
/* oklch */ color: oklch(51.9% 0.146 138.0);
Tailwind
colors: {
  custom: {
    50: '#76a25e',
    500: '#387b19',
    950: '#000000',
  },
}
SCSS
$custom: #387b19;
$custom-light: #76a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#387b19",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 101.02,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.1458,
    "h": 138
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#387B19
secondary
#8C40AF
accent
#3FE9B3
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387B19

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

Preview Lab → · Contrast checker → · Palette generator →

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