#387C18#387C18

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

Color values

HEX#387C18
RGBrgb(56, 124, 24)
HSLhsl(101, 68%, 29%)
HSVhsv(101, 81%, 49%)
CMYKcmyk(54.8%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.07, -39.63, 44.37)
CIE-LCHlch(46.07, 59.49, 131.77°)
OKLaboklab(52.2% -0.1097 0.0988)
OKLCHoklch(52.2% 0.148 138)
XYZxyz(9.0031, 15.3213, 3.3469)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387C18 #5C187C
analogous
#6A7C18 #387C18 #187C2A
triadic
#387C18 #18387C #7C1838
tetradic
#387C18 #186A7C #5C187C #7C2A18
square
#387C18 #186A7C #5C187C #7C2A18
split-complementary
#387C18 #2A187C #7C186A
monochromatic
#0C1A05 #21490E #387C18 #4FAF22 #6AD836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387C18#FFFFFF#000000##FFFFFF
##387C181.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: #387c18;
/* rgb */ color: rgb(56, 124, 24);
/* oklch */ color: oklch(52.2% 0.148 138.0);
Tailwind
colors: {
  custom: {
    50: '#77a25e',
    500: '#387c18',
    950: '#000000',
  },
}
SCSS
$custom: #387c18;
$custom-light: #77a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#387c18",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 100.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.1476,
    "h": 138
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#387C18
secondary
#8C3FB1
accent
#3DEAB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387C18

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

Preview Lab → · Contrast checker → · Palette generator →

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