#387F2F#387F2F

#387F2F is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.135 H 141.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#387F2F
RGBrgb(56, 127, 47)
HSLhsl(113, 46%, 34%)
HSVhsv(113, 63%, 50%)
CMYKcmyk(55.9%, 0%, 63%, 50.2%)
CIE-LABlab(47.27, -38.78, 36.02)
CIE-LCHlch(47.27, 52.93, 137.11°)
OKLaboklab(53.24% -0.1059 0.0843)
OKLCHoklch(53.24% 0.135 141.5)
XYZxyz(9.7329, 16.2239, 5.3074)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F2F #762F7F
analogous
#607F2F #387F2F #2F7F4E
triadic
#387F2F #2F387F #7F2F38
tetradic
#387F2F #2F607F #762F7F #7F4E2F
square
#387F2F #2F607F #762F7F #7F4E2F
split-complementary
#387F2F #4E2F7F #7F2F60
monochromatic
#11260E #24521E #387F2F #4CAC40 #6EC563

Accessibility & contrast

On white

4.95
#387F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#387F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F2F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F2F#FFFFFF#000000##FFFFFF
##387F2F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#2F7B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f2f;
/* rgb */ color: rgb(56, 127, 47);
/* oklch */ color: oklch(53.2% 0.135 141.5);
Tailwind
colors: {
  custom: {
    50: '#76a56b',
    500: '#387f2f',
    950: '#000000',
  },
}
SCSS
$custom: #387f2f;
$custom-light: #76a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#387f2f",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 113.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.13534,
    "h": 141.5
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#387F2F
secondary
#A35EAC
accent
#52D6C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #387F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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