#387A1C#387A1C

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

Color values

HEX#387A1C
RGBrgb(56, 122, 28)
HSLhsl(102, 63%, 29%)
HSVhsv(102, 77%, 48%)
CMYKcmyk(54.1%, 0%, 77%, 52.2%)
CIE-LABlab(45.42, -38.54, 42.30)
CIE-LCHlch(45.42, 57.23, 132.34°)
OKLaboklab(51.67% -0.1065 0.0951)
OKLCHoklch(51.67% 0.143 138.2)
XYZxyz(8.7997, 14.8430, 3.4997)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A1C #5E1C7A
analogous
#677A1C #387A1C #1C7A2F
triadic
#387A1C #1C387A #7A1C38
tetradic
#387A1C #1C677A #5E1C7A #7A2F1C
square
#387A1C #1C677A #5E1C7A #7A2F1C
split-complementary
#387A1C #2F1C7A #7A1C67
monochromatic
#0B1906 #214811 #387A1C #4FAC27 #6AD33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387A1C#FFFFFF#000000##FFFFFF
##387A1C1.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)
#7E6F09
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387a1c;
/* rgb */ color: rgb(56, 122, 28);
/* oklch */ color: oklch(51.7% 0.143 138.2);
Tailwind
colors: {
  custom: {
    50: '#76a15f',
    500: '#387a1c',
    950: '#000000',
  },
}
SCSS
$custom: #387a1c;
$custom-light: #76a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#387a1c",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 102.128,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.14277,
    "h": 138.2
  },
  "luminance": 0.14844
}

Semantic roles & 50–950 ramp

primary
#387A1C
secondary
#8E44AE
accent
#42E6B5
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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