#387E22#387E22

#387E22 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.144 H 139.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#387E22
RGBrgb(56, 126, 34)
HSLhsl(106, 58%, 31%)
HSVhsv(106, 73%, 49%)
CMYKcmyk(55.6%, 0%, 73%, 50.6%)
CIE-LABlab(46.81, -39.68, 41.35)
CIE-LCHlch(46.81, 57.31, 133.82°)
OKLaboklab(52.83% -0.1092 0.094)
OKLCHoklch(52.83% 0.144 139.3)
XYZxyz(9.3801, 15.8772, 4.0834)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E22 #68227E
analogous
#667E22 #387E22 #227E3A
triadic
#387E22 #22387E #7E2238
tetradic
#387E22 #22667E #68227E #7E3A22
square
#387E22 #22667E #68227E #7E3A22
split-complementary
#387E22 #3A227E #7E2266
monochromatic
#0D1E08 #234E15 #387E22 #4DAE2F #6BCF4C

Accessibility & contrast

On white

5.03
#387E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #387E22
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E22#FFFFFF#000000##FFFFFF
##387E221.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#317A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e22;
/* rgb */ color: rgb(56, 126, 34);
/* oklch */ color: oklch(52.8% 0.144 139.3);
Tailwind
colors: {
  custom: {
    50: '#76a463',
    500: '#387e22',
    950: '#000000',
  },
}
SCSS
$custom: #387e22;
$custom-light: #76a463;
$custom-dark: #000000;
JSON
{
  "hex": "#387e22",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 105.652,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.14406,
    "h": 139.3
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#387E22
secondary
#984BB1
accent
#47E1BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387E22

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

Preview Lab → · Contrast checker → · Palette generator →

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