#387A1B#387A1B

#387A1B is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.7% C 0.143 H 138.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#387A1B
RGBrgb(56, 122, 27)
HSLhsl(102, 64%, 29%)
HSVhsv(102, 78%, 48%)
CMYKcmyk(54.1%, 0%, 77.9%, 52.2%)
CIE-LABlab(45.41, -38.61, 42.67)
CIE-LCHlch(45.41, 57.55, 132.14°)
OKLaboklab(51.66% -0.1067 0.0957)
OKLCHoklch(51.66% 0.143 138.1)
XYZxyz(8.7879, 14.8383, 3.4377)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A1B #5D1B7A
analogous
#687A1B #387A1B #1B7A2E
triadic
#387A1B #1B387A #7A1B38
tetradic
#387A1B #1B687A #5D1B7A #7A2E1B
square
#387A1B #1B687A #5D1B7A #7A2E1B
split-complementary
#387A1B #2E1B7A #7A1B68
monochromatic
#0C1906 #214810 #387A1B #4FAC26 #6AD43C

Accessibility & contrast

On white

5.29
#387A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#387A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A1B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A1B#FFFFFF#000000##FFFFFF
##387A1B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#766925
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387a1b;
/* rgb */ color: rgb(56, 122, 27);
/* oklch */ color: oklch(51.7% 0.143 138.1);
Tailwind
colors: {
  custom: {
    50: '#76a15f',
    500: '#387a1b',
    950: '#000000',
  },
}
SCSS
$custom: #387a1b;
$custom-light: #76a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#387a1b",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 101.684,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.14337,
    "h": 138.1
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#387A1B
secondary
#8D43AE
accent
#41E7B4
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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