#387F22#387F22

#387F22 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.145 H 139.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#387F22
RGBrgb(56, 127, 34)
HSLhsl(106, 58%, 32%)
HSVhsv(106, 73%, 50%)
CMYKcmyk(55.9%, 0%, 73.2%, 50.2%)
CIE-LABlab(47.15, -40.09, 41.70)
CIE-LCHlch(47.15, 57.84, 133.87°)
OKLaboklab(53.11% -0.1103 0.0947)
OKLCHoklch(53.11% 0.145 139.3)
XYZxyz(9.5086, 16.1342, 4.1262)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F22 #69227F
analogous
#677F22 #387F22 #227F3A
triadic
#387F22 #22387F #7F2238
tetradic
#387F22 #22677F #69227F #7F3A22
square
#387F22 #22677F #69227F #7F3A22
split-complementary
#387F22 #3A227F #7F2267
monochromatic
#0D1E08 #234F15 #387F22 #4DAF2F #6BCF4C

Accessibility & contrast

On white

4.97
#387F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#387F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F22
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F22#FFFFFF#000000##FFFFFF
##387F221.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837313
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#317B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f22;
/* rgb */ color: rgb(56, 127, 34);
/* oklch */ color: oklch(53.1% 0.145 139.3);
Tailwind
colors: {
  custom: {
    50: '#77a563',
    500: '#387f22',
    950: '#000000',
  },
}
SCSS
$custom: #387f22;
$custom-light: #77a563;
$custom-dark: #000000;
JSON
{
  "hex": "#387f22",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 105.806,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53107,
    "c": 0.14535,
    "h": 139.3
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#387F22
secondary
#994BB2
accent
#47E1BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387F22

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

Preview Lab → · Contrast checker → · Palette generator →

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