#387E28#387E28

#387E28 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.140 H 140.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#387E28
RGBrgb(56, 126, 40)
HSLhsl(109, 52%, 33%)
HSVhsv(109, 68%, 49%)
CMYKcmyk(55.6%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.86, -39.13, 38.83)
CIE-LCHlch(46.86, 55.12, 135.22°)
OKLaboklab(52.89% -0.1073 0.0895)
OKLCHoklch(52.89% 0.14 140.2)
XYZxyz(9.4743, 15.9149, 4.5797)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E28 #6E287E
analogous
#637E28 #387E28 #287E43
triadic
#387E28 #28387E #7E2838
tetradic
#387E28 #28637E #6E287E #7E4328
square
#387E28 #28637E #6E287E #7E4328
split-complementary
#387E28 #43287E #7E2863
monochromatic
#0F210B #235019 #387E28 #4DAC37 #6CCA57

Accessibility & contrast

On white

5.02
#387E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#387E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E28
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E28#FFFFFF#000000##FFFFFF
##387E281.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731D
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#307A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e28;
/* rgb */ color: rgb(56, 126, 40);
/* oklch */ color: oklch(52.9% 0.140 140.2);
Tailwind
colors: {
  custom: {
    50: '#76a466',
    500: '#387e28',
    950: '#000000',
  },
}
SCSS
$custom: #387e28;
$custom-light: #76a466;
$custom-dark: #000000;
JSON
{
  "hex": "#387e28",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 108.837,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.13968,
    "h": 140.2
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#387E28
secondary
#9E53AF
accent
#4DDBC1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387E28

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

Preview Lab → · Contrast checker → · Palette generator →

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