#387A18#387A18

#387A18 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.145 H 137.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#387A18
RGBrgb(56, 122, 24)
HSLhsl(100, 67%, 29%)
HSVhsv(100, 80%, 48%)
CMYKcmyk(54.1%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.39, -38.82, 43.72)
CIE-LCHlch(45.39, 58.47, 131.60°)
OKLaboklab(51.64% -0.1075 0.0975)
OKLCHoklch(51.64% 0.145 137.8)
XYZxyz(8.7550, 14.8251, 3.2642)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A18 #5A187A
analogous
#697A18 #387A18 #187A29
triadic
#387A18 #18387A #7A1838
tetradic
#387A18 #18697A #5A187A #7A2918
square
#387A18 #18697A #5A187A #7A2918
split-complementary
#387A18 #29187A #7A1869
monochromatic
#0C1A05 #21470E #387A18 #4FAD22 #6AD735

Accessibility & contrast

On white

5.30
#387A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#387A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A18
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A18#FFFFFF#000000##FFFFFF
##387A181.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#337568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387a18;
/* rgb */ color: rgb(56, 122, 24);
/* oklch */ color: oklch(51.6% 0.145 137.8);
Tailwind
colors: {
  custom: {
    50: '#76a15d',
    500: '#387a18',
    950: '#000000',
  },
}
SCSS
$custom: #387a18;
$custom-light: #76a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#387a18",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 100.408,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.14509,
    "h": 137.8
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#387A18
secondary
#8A3FAF
accent
#3EEAB2
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387A18

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

Preview Lab → · Contrast checker → · Palette generator →

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