#387A17#387A17

#387A17 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.146 H 137.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#387A17
RGBrgb(56, 122, 23)
HSLhsl(100, 68%, 28%)
HSVhsv(100, 81%, 48%)
CMYKcmyk(54.1%, 0%, 81.1%, 52.2%)
CIE-LABlab(45.39, -38.88, 44.05)
CIE-LCHlch(45.39, 58.76, 131.43°)
OKLaboklab(51.63% -0.1077 0.098)
OKLCHoklch(51.63% 0.146 137.7)
XYZxyz(8.7448, 14.8210, 3.2104)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A17 #59177A
analogous
#697A17 #387A17 #177A27
triadic
#387A17 #17387A #7A1738
tetradic
#387A17 #17697A #59177A #7A2717
square
#387A17 #17697A #59177A #7A2717
split-complementary
#387A17 #27177A #7A1769
monochromatic
#0C1A05 #20470D #387A17 #50AD21 #6AD933

Accessibility & contrast

On white

5.30
#387A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#387A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A17
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A17#FFFFFF#000000##FFFFFF
##387A171.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#337568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387a17;
/* rgb */ color: rgb(56, 122, 23);
/* oklch */ color: oklch(51.6% 0.146 137.7);
Tailwind
colors: {
  custom: {
    50: '#76a15d',
    500: '#387a17',
    950: '#000000',
  },
}
SCSS
$custom: #387a17;
$custom-light: #76a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#387a17",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 100,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.14562,
    "h": 137.7
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#387A17
secondary
#893EAF
accent
#3DEBB1
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387A17

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

Preview Lab → · Contrast checker → · Palette generator →

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