#387B17#387B17

#387B17 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.147 H 137.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#387B17
RGBrgb(56, 123, 23)
HSLhsl(100, 68%, 29%)
HSVhsv(100, 81%, 48%)
CMYKcmyk(54.5%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.73, -39.29, 44.38)
CIE-LCHlch(45.73, 59.27, 131.52°)
OKLaboklab(51.91% -0.1088 0.0987)
OKLCHoklch(51.91% 0.147 137.8)
XYZxyz(8.8682, 15.0679, 3.2515)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B17 #5A177B
analogous
#6A7B17 #387B17 #177B28
triadic
#387B17 #17387B #7B1738
tetradic
#387B17 #176A7B #5A177B #7B2817
square
#387B17 #176A7B #5A177B #7B2817
split-complementary
#387B17 #28177B #7B176A
monochromatic
#0C1A05 #21470D #387B17 #4FAF21 #6AD933

Accessibility & contrast

On white

5.23
#387B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#387B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B17
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B17#FFFFFF#000000##FFFFFF
##387B171.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b17;
/* rgb */ color: rgb(56, 123, 23);
/* oklch */ color: oklch(51.9% 0.147 137.8);
Tailwind
colors: {
  custom: {
    50: '#76a25d',
    500: '#387b17',
    950: '#000000',
  },
}
SCSS
$custom: #387b17;
$custom-light: #76a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#387b17",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 100.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51912,
    "c": 0.14687,
    "h": 137.8
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#387B17
secondary
#8A3EB0
accent
#3CEBB2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387B17

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

Preview Lab → · Contrast checker → · Palette generator →

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