#387B18#387B18

#387B18 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.146 H 137.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#387B18
RGBrgb(56, 123, 24)
HSLhsl(101, 67%, 29%)
HSVhsv(101, 80%, 48%)
CMYKcmyk(54.5%, 0%, 80.5%, 51.8%)
CIE-LABlab(45.73, -39.22, 44.05)
CIE-LCHlch(45.73, 58.98, 131.69°)
OKLaboklab(51.92% -0.1086 0.0981)
OKLCHoklch(51.92% 0.146 137.9)
XYZxyz(8.8784, 15.0719, 3.3053)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B18 #5B187B
analogous
#6A7B18 #387B18 #187B2A
triadic
#387B18 #18387B #7B1838
tetradic
#387B18 #186A7B #5B187B #7B2A18
square
#387B18 #186A7B #5B187B #7B2A18
split-complementary
#387B18 #2A187B #7B186A
monochromatic
#0C1A05 #21480E #387B18 #4FAE22 #6AD836

Accessibility & contrast

On white

5.23
#387B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#387B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B18
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B18#FFFFFF#000000##FFFFFF
##387B181.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#337669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b18;
/* rgb */ color: rgb(56, 123, 24);
/* oklch */ color: oklch(51.9% 0.146 137.9);
Tailwind
colors: {
  custom: {
    50: '#76a25e',
    500: '#387b18',
    950: '#000000',
  },
}
SCSS
$custom: #387b18;
$custom-light: #76a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#387b18",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 100.606,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.14635,
    "h": 137.9
  },
  "luminance": 0.15073
}

Semantic roles & 50–950 ramp

primary
#387B18
secondary
#8B3FB0
accent
#3EEAB2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387B18

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

Preview Lab → · Contrast checker → · Palette generator →

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