#387B1B#387B1B

#387B1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.145 H 138.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#387B1B
RGBrgb(56, 123, 27)
HSLhsl(102, 64%, 29%)
HSVhsv(102, 78%, 48%)
CMYKcmyk(54.5%, 0%, 78%, 51.8%)
CIE-LABlab(45.75, -39.02, 43.00)
CIE-LCHlch(45.75, 58.07, 132.22°)
OKLaboklab(51.94% -0.1078 0.0964)
OKLCHoklch(51.94% 0.145 138.2)
XYZxyz(8.9114, 15.0851, 3.4788)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B1B #5E1B7B
analogous
#687B1B #387B1B #1B7B2E
triadic
#387B1B #1B387B #7B1B38
tetradic
#387B1B #1B687B #5E1B7B #7B2E1B
square
#387B1B #1B687B #5E1B7B #7B2E1B
split-complementary
#387B1B #2E1B7B #7B1B68
monochromatic
#0B1906 #214910 #387B1B #4FAD26 #6AD43C

Accessibility & contrast

On white

5.23
#387B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#387B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B1B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B1B#FFFFFF#000000##FFFFFF
##387B1B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#327769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b1b;
/* rgb */ color: rgb(56, 123, 27);
/* oklch */ color: oklch(51.9% 0.145 138.2);
Tailwind
colors: {
  custom: {
    50: '#76a25f',
    500: '#387b1b',
    950: '#000000',
  },
}
SCSS
$custom: #387b1b;
$custom-light: #76a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#387b1b",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 101.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51938,
    "c": 0.14465,
    "h": 138.2
  },
  "luminance": 0.15086
}

Semantic roles & 50–950 ramp

primary
#387B1B
secondary
#8E43AF
accent
#41E7B5
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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