#387A28#387A28

#387A28 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.8% C 0.134 H 140.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#387A28
RGBrgb(56, 122, 40)
HSLhsl(108, 51%, 32%)
HSVhsv(108, 67%, 48%)
CMYKcmyk(54.1%, 0%, 67.2%, 52.2%)
CIE-LABlab(45.51, -37.48, 37.36)
CIE-LCHlch(45.51, 52.92, 135.09°)
OKLaboklab(51.78% -0.1028 0.0864)
OKLCHoklch(51.78% 0.134 140)
XYZxyz(8.9730, 14.9123, 4.4126)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A28 #6A287A
analogous
#617A28 #387A28 #287A41
triadic
#387A28 #28387A #7A2838
tetradic
#387A28 #28617A #6A287A #7A4128
square
#387A28 #28617A #6A287A #7A4128
split-complementary
#387A28 #41287A #7A2861
monochromatic
#0E1E0A #234C19 #387A28 #4DA837 #6BC755

Accessibility & contrast

On white

5.27
#387A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#387A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A28
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A28#FFFFFF#000000##FFFFFF
##387A281.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#317669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387a28;
/* rgb */ color: rgb(56, 122, 40);
/* oklch */ color: oklch(51.8% 0.134 140.0);
Tailwind
colors: {
  custom: {
    50: '#75a166',
    500: '#387a28',
    950: '#000000',
  },
}
SCSS
$custom: #387a28;
$custom-light: #75a166;
$custom-dark: #000000;
JSON
{
  "hex": "#387a28",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 108.293,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.13426,
    "h": 140
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#387A28
secondary
#9A52AC
accent
#4EDABF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387A28

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

Preview Lab → · Contrast checker → · Palette generator →

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