#387B1C#387B1C

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

Color values

HEX#387B1C
RGBrgb(56, 123, 28)
HSLhsl(102, 63%, 30%)
HSVhsv(102, 77%, 48%)
CMYKcmyk(54.5%, 0%, 77.2%, 51.8%)
CIE-LABlab(45.76, -38.95, 42.64)
CIE-LCHlch(45.76, 57.75, 132.41°)
OKLaboklab(51.95% -0.1076 0.0958)
OKLCHoklch(51.95% 0.144 138.3)
XYZxyz(8.9231, 15.0898, 3.5408)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B1C #5F1C7B
analogous
#687B1C #387B1C #1C7B30
triadic
#387B1C #1C387B #7B1C38
tetradic
#387B1C #1C687B #5F1C7B #7B301C
square
#387B1C #1C687B #5F1C7B #7B301C
split-complementary
#387B1C #301C7B #7B1C68
monochromatic
#0B1906 #214911 #387B1C #4FAD27 #6AD33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387B1C#FFFFFF#000000##FFFFFF
##387B1C1.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)
#7F7008
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#327769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b1c;
/* rgb */ color: rgb(56, 123, 28);
/* oklch */ color: oklch(51.9% 0.144 138.3);
Tailwind
colors: {
  custom: {
    50: '#76a25f',
    500: '#387b1c',
    950: '#000000',
  },
}
SCSS
$custom: #387b1c;
$custom-light: #76a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#387b1c",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 102.316,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51946,
    "c": 0.14405,
    "h": 138.3
  },
  "luminance": 0.15091
}

Semantic roles & 50–950 ramp

primary
#387B1C
secondary
#8F44AF
accent
#42E6B6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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