#387F20#387F20

#387F20 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.147 H 139.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#387F20
RGBrgb(56, 127, 32)
HSLhsl(105, 60%, 31%)
HSVhsv(105, 75%, 50%)
CMYKcmyk(55.9%, 0%, 74.8%, 50.2%)
CIE-LABlab(47.14, -40.25, 42.49)
CIE-LCHlch(47.14, 58.53, 133.45°)
OKLaboklab(53.09% -0.1108 0.0961)
OKLCHoklch(53.09% 0.147 139.1)
XYZxyz(9.4806, 16.1230, 3.9787)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F20 #67207F
analogous
#677F20 #387F20 #207F37
triadic
#387F20 #20387F #7F2038
tetradic
#387F20 #20677F #67207F #7F3720
square
#387F20 #20677F #67207F #7F3720
split-complementary
#387F20 #37207F #7F2067
monochromatic
#0D1D07 #224E14 #387F20 #4EB02C #6BD148

Accessibility & contrast

On white

4.97
#387F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #387F20
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F20#FFFFFF#000000##FFFFFF
##387F201.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#317B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f20;
/* rgb */ color: rgb(56, 127, 32);
/* oklch */ color: oklch(53.1% 0.147 139.1);
Tailwind
colors: {
  custom: {
    50: '#77a562',
    500: '#387f20',
    950: '#000000',
  },
}
SCSS
$custom: #387f20;
$custom-light: #77a562;
$custom-dark: #000000;
JSON
{
  "hex": "#387f20",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 104.842,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.14668,
    "h": 139.1
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#387F20
secondary
#9749B2
accent
#45E3BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387F20

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

Preview Lab → · Contrast checker → · Palette generator →

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