#387F1E#387F1E

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

Color values

HEX#387F1E
RGBrgb(56, 127, 30)
HSLhsl(104, 62%, 31%)
HSVhsv(104, 76%, 50%)
CMYKcmyk(55.9%, 0%, 76.4%, 50.2%)
CIE-LABlab(47.12, -40.41, 43.24)
CIE-LCHlch(47.12, 59.19, 133.06°)
OKLaboklab(53.08% -0.1114 0.0974)
OKLCHoklch(53.08% 0.148 138.8)
XYZxyz(9.4542, 16.1125, 3.8399)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F1E #651E7F
analogous
#687F1E #387F1E #1E7F35
triadic
#387F1E #1E387F #7F1E38
tetradic
#387F1E #1E687F #651E7F #7F351E
square
#387F1E #1E687F #651E7F #7F351E
split-complementary
#387F1E #351E7F #7F1E68
monochromatic
#0C1C07 #224D12 #387F1E #4EB12A #6BD344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387F1E#FFFFFF#000000##FFFFFF
##387F1E1.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)
#83730B
Deuteranopia (green-blind)
#7A6D28
Tritanopia (blue-blind)
#317B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f1e;
/* rgb */ color: rgb(56, 127, 30);
/* oklch */ color: oklch(53.1% 0.148 138.8);
Tailwind
colors: {
  custom: {
    50: '#77a561',
    500: '#387f1e',
    950: '#000000',
  },
}
SCSS
$custom: #387f1e;
$custom-light: #77a561;
$custom-dark: #000000;
JSON
{
  "hex": "#387f1e",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 103.918,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.14794,
    "h": 138.8
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#387F1E
secondary
#9547B2
accent
#43E5B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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