#387B27#387B27

#387B27 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.136 H 139.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#387B27
RGBrgb(56, 123, 39)
HSLhsl(108, 52%, 32%)
HSVhsv(108, 68%, 48%)
CMYKcmyk(54.5%, 0%, 68.3%, 51.8%)
CIE-LABlab(45.84, -37.99, 38.17)
CIE-LCHlch(45.84, 53.86, 134.87°)
OKLaboklab(52.04% -0.1043 0.088)
OKLCHoklch(52.04% 0.136 139.8)
XYZxyz(9.0797, 15.1524, 4.3653)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B27 #6A277B
analogous
#627B27 #387B27 #277B40
triadic
#387B27 #27387B #7B2738
tetradic
#387B27 #27627B #6A277B #7B4027
square
#387B27 #27627B #6A277B #7B4027
split-complementary
#387B27 #40277B #7B2762
monochromatic
#0E1E0A #234D18 #387B27 #4DA936 #6BC954

Accessibility & contrast

On white

5.21
#387B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#387B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B27
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B27#FFFFFF#000000##FFFFFF
##387B271.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#766A2E
Tritanopia (blue-blind)
#31776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #387b27;
/* rgb */ color: rgb(56, 123, 39);
/* oklch */ color: oklch(52.0% 0.136 139.8);
Tailwind
colors: {
  custom: {
    50: '#76a265',
    500: '#387b27',
    950: '#000000',
  },
}
SCSS
$custom: #387b27;
$custom-light: #76a265;
$custom-dark: #000000;
JSON
{
  "hex": "#387b27",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 107.857,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.13641,
    "h": 139.8
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#387B27
secondary
#9A51AD
accent
#4CDBBE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387B27

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

Preview Lab → · Contrast checker → · Palette generator →

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