#387E26#387E26

#387E26 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.141 H 139.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#387E26
RGBrgb(56, 126, 38)
HSLhsl(108, 54%, 32%)
HSVhsv(108, 70%, 49%)
CMYKcmyk(55.6%, 0%, 69.8%, 50.6%)
CIE-LABlab(46.85, -39.32, 39.69)
CIE-LCHlch(46.85, 55.87, 134.73°)
OKLaboklab(52.87% -0.1079 0.091)
OKLCHoklch(52.87% 0.141 139.9)
XYZxyz(9.4412, 15.9016, 4.4052)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E26 #6C267E
analogous
#647E26 #387E26 #267E40
triadic
#387E26 #26387E #7E2638
tetradic
#387E26 #26647E #6C267E #7E4026
square
#387E26 #26647E #6C267E #7E4026
split-complementary
#387E26 #40267E #7E2664
monochromatic
#0E200A #234F18 #387E26 #4DAD34 #6CCB53

Accessibility & contrast

On white

5.02
#387E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#387E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E26
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E26#FFFFFF#000000##FFFFFF
##387E261.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#317A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e26;
/* rgb */ color: rgb(56, 126, 38);
/* oklch */ color: oklch(52.9% 0.141 139.9);
Tailwind
colors: {
  custom: {
    50: '#76a465',
    500: '#387e26',
    950: '#000000',
  },
}
SCSS
$custom: #387e26;
$custom-light: #76a465;
$custom-dark: #000000;
JSON
{
  "hex": "#387e26",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 107.727,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.1412,
    "h": 139.9
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#387E26
secondary
#9C50B0
accent
#4BDDBF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387E26

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

Preview Lab → · Contrast checker → · Palette generator →

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