#387F28#387F28

#387F28 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.141 H 140.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#387F28
RGBrgb(56, 127, 40)
HSLhsl(109, 52%, 33%)
HSVhsv(109, 69%, 50%)
CMYKcmyk(55.9%, 0%, 68.5%, 50.2%)
CIE-LABlab(47.20, -39.54, 39.19)
CIE-LCHlch(47.20, 55.67, 135.25°)
OKLaboklab(53.16% -0.1084 0.0902)
OKLCHoklch(53.16% 0.141 140.2)
XYZxyz(9.6028, 16.1719, 4.6225)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F28 #6F287F
analogous
#637F28 #387F28 #287F44
triadic
#387F28 #28387F #7F2838
tetradic
#387F28 #28637F #6F287F #7F4428
square
#387F28 #28637F #6F287F #7F4428
split-complementary
#387F28 #44287F #7F2863
monochromatic
#0F220B #235019 #387F28 #4DAE37 #6CCA57

Accessibility & contrast

On white

4.96
#387F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#387F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F28
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F28#FFFFFF#000000##FFFFFF
##387F281.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741D
Deuteranopia (green-blind)
#796E30
Tritanopia (blue-blind)
#307B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f28;
/* rgb */ color: rgb(56, 127, 40);
/* oklch */ color: oklch(53.2% 0.141 140.2);
Tailwind
colors: {
  custom: {
    50: '#76a566',
    500: '#387f28',
    950: '#000000',
  },
}
SCSS
$custom: #387f28;
$custom-light: #76a566;
$custom-dark: #000000;
JSON
{
  "hex": "#387f28",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 108.966,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.14102,
    "h": 140.2
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#387F28
secondary
#9E54AF
accent
#4CDCC1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387F28

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

Preview Lab → · Contrast checker → · Palette generator →

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