#387A22#387A22

#387A22 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.139 H 139.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#387A22
RGBrgb(56, 122, 34)
HSLhsl(105, 56%, 31%)
HSVhsv(105, 72%, 48%)
CMYKcmyk(54.1%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.46, -38.05, 39.95)
CIE-LCHlch(45.46, 55.17, 133.61°)
OKLaboklab(51.72% -0.1048 0.0911)
OKLCHoklch(51.72% 0.139 139)
XYZxyz(8.8788, 14.8746, 3.9163)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A22 #64227A
analogous
#647A22 #387A22 #227A38
triadic
#387A22 #22387A #7A2238
tetradic
#387A22 #22647A #64227A #7A3822
square
#387A22 #22647A #64227A #7A3822
split-complementary
#387A22 #38227A #7A2264
monochromatic
#0C1A07 #224A15 #387A22 #4EAA2F #6BCD4A

Accessibility & contrast

On white

5.28
#387A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#387A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A22
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A22#FFFFFF#000000##FFFFFF
##387A221.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#327668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387a22;
/* rgb */ color: rgb(56, 122, 34);
/* oklch */ color: oklch(51.7% 0.139 139.0);
Tailwind
colors: {
  custom: {
    50: '#76a162',
    500: '#387a22',
    950: '#000000',
  },
}
SCSS
$custom: #387a22;
$custom-light: #76a162;
$custom-dark: #000000;
JSON
{
  "hex": "#387a22",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 105,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.1388,
    "h": 139
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#387A22
secondary
#944BAD
accent
#48E0BA
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387A22

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

Preview Lab → · Contrast checker → · Palette generator →

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