#387D1A#387D1A

#387D1A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.148 H 138.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#387D1A
RGBrgb(56, 125, 26)
HSLhsl(102, 66%, 30%)
HSVhsv(102, 79%, 49%)
CMYKcmyk(55.2%, 0%, 79.2%, 51%)
CIE-LABlab(46.42, -39.90, 44.02)
CIE-LCHlch(46.42, 59.41, 132.19°)
OKLaboklab(52.49% -0.1103 0.0984)
OKLCHoklch(52.49% 0.148 138.3)
XYZxyz(9.1506, 15.5818, 3.5025)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D1A #5F1A7D
analogous
#6A7D1A #387D1A #1A7D2D
triadic
#387D1A #1A387D #7D1A38
tetradic
#387D1A #1A6A7D #5F1A7D #7D2D1A
square
#387D1A #1A6A7D #5F1A7D #7D2D1A
split-complementary
#387D1A #2D1A7D #7D1A6A
monochromatic
#0B1905 #214A0F #387D1A #4FB025 #6AD63B

Accessibility & contrast

On white

5.10
#387D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#387D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D1A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D1A#FFFFFF#000000##FFFFFF
##387D1A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#32786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d1a;
/* rgb */ color: rgb(56, 125, 26);
/* oklch */ color: oklch(52.5% 0.148 138.3);
Tailwind
colors: {
  custom: {
    50: '#77a35f',
    500: '#387d1a',
    950: '#000000',
  },
}
SCSS
$custom: #387d1a;
$custom-light: #77a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#387d1a",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 101.818,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52489,
    "c": 0.14776,
    "h": 138.3
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#387D1A
secondary
#8F42B1
accent
#3FE9B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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