#387E16#387E16

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

Color values

HEX#387E16
RGBrgb(56, 126, 22)
HSLhsl(100, 70%, 29%)
HSVhsv(100, 83%, 49%)
CMYKcmyk(55.6%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.74, -40.55, 45.65)
CIE-LCHlch(46.74, 61.06, 131.61°)
OKLaboklab(52.74% -0.1122 0.1012)
OKLCHoklch(52.74% 0.151 138)
XYZxyz(9.2362, 15.8197, 3.3257)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E16 #5C167E
analogous
#6C7E16 #387E16 #167E28
triadic
#387E16 #16387E #7E1638
tetradic
#387E16 #166C7E #5C167E #7E2816
square
#387E16 #166C7E #5C167E #7E2816
split-complementary
#387E16 #28167E #7E166C
monochromatic
#0C1A05 #214A0D #387E16 #4FB21F #6ADB33

Accessibility & contrast

On white

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

On black

4.16
#387E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387E16#FFFFFF#000000##FFFFFF
##387E161.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387e16;
/* rgb */ color: rgb(56, 126, 22);
/* oklch */ color: oklch(52.7% 0.151 138.0);
Tailwind
colors: {
  custom: {
    50: '#77a45d',
    500: '#387e16',
    950: '#000000',
  },
}
SCSS
$custom: #387e16;
$custom-light: #77a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#387e16",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 100.385,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.15111,
    "h": 138
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#387E16
secondary
#8C3DB3
accent
#3BEDB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387E16

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

Preview Lab → · Contrast checker → · Palette generator →

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