#387C17#387C17

#387C17 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.148 H 137.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#387C17
RGBrgb(56, 124, 23)
HSLhsl(100, 69%, 29%)
HSVhsv(100, 81%, 49%)
CMYKcmyk(54.8%, 0%, 81.5%, 51.4%)
CIE-LABlab(46.07, -39.69, 44.70)
CIE-LCHlch(46.07, 59.77, 131.60°)
OKLaboklab(52.19% -0.1099 0.0993)
OKLCHoklch(52.19% 0.148 137.9)
XYZxyz(8.9929, 15.3172, 3.2931)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387C17 #5B177C
analogous
#6B7C17 #387C17 #177C29
triadic
#387C17 #17387C #7C1738
tetradic
#387C17 #176B7C #5B177C #7C2917
square
#387C17 #176B7C #5B177C #7C2917
split-complementary
#387C17 #29177C #7C176B
monochromatic
#0C1A05 #21480D #387C17 #4FB021 #6AD934

Accessibility & contrast

On white

5.17
#387C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#387C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387C17
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387C17#FFFFFF#000000##FFFFFF
##387C171.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#337769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #387c17;
/* rgb */ color: rgb(56, 124, 23);
/* oklch */ color: oklch(52.2% 0.148 137.9);
Tailwind
colors: {
  custom: {
    50: '#77a25d',
    500: '#387c17',
    950: '#000000',
  },
}
SCSS
$custom: #387c17;
$custom-light: #77a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#387c17",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 100.396,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.14812,
    "h": 137.9
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#387C17
secondary
#8B3EB1
accent
#3CECB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387C17

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

Preview Lab → · Contrast checker → · Palette generator →

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