#387E17#387E17

#387E17 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.151 H 138.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#387E17
RGBrgb(56, 126, 23)
HSLhsl(101, 69%, 29%)
HSVhsv(101, 82%, 49%)
CMYKcmyk(55.6%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.74, -40.49, 45.34)
CIE-LCHlch(46.74, 60.78, 131.77°)
OKLaboklab(52.75% -0.112 0.1007)
OKLCHoklch(52.75% 0.151 138.1)
XYZxyz(9.2461, 15.8236, 3.3775)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E17 #5D177E
analogous
#6C7E17 #387E17 #177E2A
triadic
#387E17 #17387E #7E1738
tetradic
#387E17 #176C7E #5D177E #7E2A17
square
#387E17 #176C7E #5D177E #7E2A17
split-complementary
#387E17 #2A177E #7E176C
monochromatic
#0C1A05 #214A0E #387E17 #4FB220 #6ADA35

Accessibility & contrast

On white

5.04
#387E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#387E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E17
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E17#FFFFFF#000000##FFFFFF
##387E171.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e17;
/* rgb */ color: rgb(56, 126, 23);
/* oklch */ color: oklch(52.7% 0.151 138.1);
Tailwind
colors: {
  custom: {
    50: '#77a45e',
    500: '#387e17',
    950: '#000000',
  },
}
SCSS
$custom: #387e17;
$custom-light: #77a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#387e17",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 100.777,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.15062,
    "h": 138.1
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#387E17
secondary
#8D3EB3
accent
#3CECB4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387E17

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

Preview Lab → · Contrast checker → · Palette generator →

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