#387918#387918

#387918 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.144 H 137.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#387918
RGBrgb(56, 121, 24)
HSLhsl(100, 67%, 28%)
HSVhsv(100, 80%, 47%)
CMYKcmyk(53.7%, 0%, 80.2%, 52.5%)
CIE-LABlab(45.05, -38.41, 43.40)
CIE-LCHlch(45.05, 57.95, 131.51°)
OKLaboklab(51.36% -0.1064 0.0968)
OKLCHoklch(51.36% 0.144 137.7)
XYZxyz(8.6328, 14.5808, 3.2234)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387918 #591879
analogous
#687918 #387918 #187928
triadic
#387918 #183879 #791838
tetradic
#387918 #186879 #591879 #792818
square
#387918 #186879 #591879 #792818
split-complementary
#387918 #281879 #791868
monochromatic
#0C1A05 #20460E #387918 #50AC22 #6AD735

Accessibility & contrast

On white

5.36
#387918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#387918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387918
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387918#FFFFFF#000000##FFFFFF
##3879181.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#337467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387918;
/* rgb */ color: rgb(56, 121, 24);
/* oklch */ color: oklch(51.4% 0.144 137.7);
Tailwind
colors: {
  custom: {
    50: '#76a05d',
    500: '#387918',
    950: '#000000',
  },
}
SCSS
$custom: #387918;
$custom-light: #76a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#387918",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 100.206,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.14382,
    "h": 137.7
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#387918
secondary
#893FAE
accent
#3EEAB1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #387918

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

Preview Lab → · Contrast checker → · Palette generator →

#387918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva