#387F19#387F19

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

Color values

HEX#387F19
RGBrgb(56, 127, 25)
HSLhsl(102, 67%, 30%)
HSVhsv(102, 80%, 50%)
CMYKcmyk(55.9%, 0%, 80.3%, 50.2%)
CIE-LABlab(47.09, -40.76, 45.01)
CIE-LCHlch(47.09, 60.72, 132.16°)
OKLaboklab(53.04% -0.1126 0.1003)
OKLCHoklch(53.04% 0.151 138.3)
XYZxyz(9.3954, 16.0889, 3.5299)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F19 #60197F
analogous
#6B7F19 #387F19 #197F2D
triadic
#387F19 #19387F #7F1938
tetradic
#387F19 #196B7F #60197F #7F2D19
square
#387F19 #196B7F #60197F #7F2D19
split-complementary
#387F19 #2D197F #7F196B
monochromatic
#0B1A05 #214C0F #387F19 #4FB223 #6AD83A

Accessibility & contrast

On white

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

On black

4.22
#387F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387F19#FFFFFF#000000##FFFFFF
##387F191.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387f19;
/* rgb */ color: rgb(56, 127, 25);
/* oklch */ color: oklch(53.0% 0.151 138.3);
Tailwind
colors: {
  custom: {
    50: '#77a55f',
    500: '#387f19',
    950: '#000000',
  },
}
SCSS
$custom: #387f19;
$custom-light: #77a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#387f19",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 101.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.15081,
    "h": 138.3
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#387F19
secondary
#9041B3
accent
#3EEAB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387F19

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

Preview Lab → · Contrast checker → · Palette generator →

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