#387E18#387E18

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

Color values

HEX#387E18
RGBrgb(56, 126, 24)
HSLhsl(101, 68%, 29%)
HSVhsv(101, 81%, 49%)
CMYKcmyk(55.6%, 0%, 81%, 50.6%)
CIE-LABlab(46.75, -40.42, 45.01)
CIE-LCHlch(46.75, 60.50, 131.93°)
OKLaboklab(52.76% -0.1118 0.1002)
OKLCHoklch(52.76% 0.15 138.1)
XYZxyz(9.2563, 15.8277, 3.4313)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E18 #5E187E
analogous
#6B7E18 #387E18 #187E2B
triadic
#387E18 #18387E #7E1838
tetradic
#387E18 #186B7E #5E187E #7E2B18
square
#387E18 #186B7E #5E187E #7E2B18
split-complementary
#387E18 #2B187E #7E186B
monochromatic
#0B1A05 #214B0E #387E18 #4FB122 #6AD937

Accessibility & contrast

On white

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

On black

4.17
#387E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387E18#FFFFFF#000000##FFFFFF
##387E181.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387e18;
/* rgb */ color: rgb(56, 126, 24);
/* oklch */ color: oklch(52.8% 0.150 138.1);
Tailwind
colors: {
  custom: {
    50: '#77a45e',
    500: '#387e18',
    950: '#000000',
  },
}
SCSS
$custom: #387e18;
$custom-light: #77a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#387e18",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 101.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.1501,
    "h": 138.1
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #387E18

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

Preview Lab → · Contrast checker → · Palette generator →

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