#387E19#387E19

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

Color values

HEX#387E19
RGBrgb(56, 126, 25)
HSLhsl(102, 67%, 30%)
HSVhsv(102, 80%, 49%)
CMYKcmyk(55.6%, 0%, 80.2%, 50.6%)
CIE-LABlab(46.75, -40.36, 44.68)
CIE-LCHlch(46.75, 60.21, 132.09°)
OKLaboklab(52.76% -0.1116 0.0996)
OKLCHoklch(52.76% 0.15 138.2)
XYZxyz(9.2669, 15.8319, 3.4871)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E19 #5F197E
analogous
#6B7E19 #387E19 #197E2D
triadic
#387E19 #19387E #7E1938
tetradic
#387E19 #196B7E #5F197E #7E2D19
square
#387E19 #196B7E #5F197E #7E2D19
split-complementary
#387E19 #2D197E #7E196B
monochromatic
#0B1A05 #214B0F #387E19 #4FB123 #6AD83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387E19#FFFFFF#000000##FFFFFF
##387E191.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)
#827200
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e19;
/* rgb */ color: rgb(56, 126, 25);
/* oklch */ color: oklch(52.8% 0.150 138.2);
Tailwind
colors: {
  custom: {
    50: '#77a45e',
    500: '#387e19',
    950: '#000000',
  },
}
SCSS
$custom: #387e19;
$custom-light: #77a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#387e19",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 101.584,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.14957,
    "h": 138.2
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#387E19
secondary
#8F41B2
accent
#3EEAB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387E19

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

Preview Lab → · Contrast checker → · Palette generator →

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