#387D18#387D18

#387D18 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.149 H 138.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#387D18
RGBrgb(56, 125, 24)
HSLhsl(101, 68%, 29%)
HSVhsv(101, 81%, 49%)
CMYKcmyk(55.2%, 0%, 80.8%, 51%)
CIE-LABlab(46.41, -40.03, 44.69)
CIE-LCHlch(46.41, 60.00, 131.85°)
OKLaboklab(52.48% -0.1107 0.0995)
OKLCHoklch(52.48% 0.149 138.1)
XYZxyz(9.1290, 15.5732, 3.3888)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D18 #5D187D
analogous
#6B7D18 #387D18 #187D2B
triadic
#387D18 #18387D #7D1838
tetradic
#387D18 #186B7D #5D187D #7D2B18
square
#387D18 #186B7D #5D187D #7D2B18
split-complementary
#387D18 #2B187D #7D186B
monochromatic
#0C1A05 #214A0E #387D18 #4FB022 #6AD937

Accessibility & contrast

On white

5.10
#387D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#387D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D18
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D18#FFFFFF#000000##FFFFFF
##387D181.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#32786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d18;
/* rgb */ color: rgb(56, 125, 24);
/* oklch */ color: oklch(52.5% 0.149 138.1);
Tailwind
colors: {
  custom: {
    50: '#77a35e',
    500: '#387d18',
    950: '#000000',
  },
}
SCSS
$custom: #387d18;
$custom-light: #77a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#387d18",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 100.99,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.14885,
    "h": 138.1
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#387D18
secondary
#8D3FB2
accent
#3DEBB4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387D18

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

Preview Lab → · Contrast checker → · Palette generator →

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