#387F18#387F18

#387F18 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.151 H 138.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#387F18
RGBrgb(56, 127, 24)
HSLhsl(101, 68%, 30%)
HSVhsv(101, 81%, 50%)
CMYKcmyk(55.9%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.09, -40.82, 45.33)
CIE-LCHlch(47.09, 61.00, 132.00°)
OKLaboklab(53.03% -0.1129 0.1008)
OKLCHoklch(53.03% 0.151 138.2)
XYZxyz(9.3848, 16.0847, 3.4741)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F18 #5F187F
analogous
#6C7F18 #387F18 #187F2B
triadic
#387F18 #18387F #7F1838
tetradic
#387F18 #186C7F #5F187F #7F2B18
square
#387F18 #186C7F #5F187F #7F2B18
split-complementary
#387F18 #2B187F #7F186C
monochromatic
#0B1A05 #214C0E #387F18 #4FB222 #6AD938

Accessibility & contrast

On white

4.98
#387F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#387F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F18
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F18#FFFFFF#000000##FFFFFF
##387F181.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f18;
/* rgb */ color: rgb(56, 127, 24);
/* oklch */ color: oklch(53.0% 0.151 138.2);
Tailwind
colors: {
  custom: {
    50: '#77a55e',
    500: '#387f18',
    950: '#000000',
  },
}
SCSS
$custom: #387f18;
$custom-light: #77a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#387f18",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 101.359,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53033,
    "c": 0.15134,
    "h": 138.2
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#387F18
secondary
#8F3FB3
accent
#3DEBB5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387F18

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

Preview Lab → · Contrast checker → · Palette generator →

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