#387D22#387D22

#387D22 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.6% C 0.143 H 139.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#387D22
RGBrgb(56, 125, 34)
HSLhsl(105, 57%, 31%)
HSVhsv(105, 73%, 49%)
CMYKcmyk(55.2%, 0%, 72.8%, 51%)
CIE-LABlab(46.48, -39.28, 41.00)
CIE-LCHlch(46.48, 56.78, 133.77°)
OKLaboklab(52.55% -0.1081 0.0933)
OKLCHoklch(52.55% 0.143 139.2)
XYZxyz(9.2529, 15.6227, 4.0410)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D22 #67227D
analogous
#657D22 #387D22 #227D39
triadic
#387D22 #22387D #7D2238
tetradic
#387D22 #22657D #67227D #7D3922
square
#387D22 #22657D #67227D #7D3922
split-complementary
#387D22 #39227D #7D2265
monochromatic
#0D1D08 #224D15 #387D22 #4EAD2F #6BCE4B

Accessibility & contrast

On white

5.09
#387D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#387D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D22
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D22#FFFFFF#000000##FFFFFF
##387D221.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#31796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d22;
/* rgb */ color: rgb(56, 125, 34);
/* oklch */ color: oklch(52.6% 0.143 139.2);
Tailwind
colors: {
  custom: {
    50: '#76a363',
    500: '#387d22',
    950: '#000000',
  },
}
SCSS
$custom: #387d22;
$custom-light: #76a363;
$custom-dark: #000000;
JSON
{
  "hex": "#387d22",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 105.495,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.14275,
    "h": 139.2
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#387D22
secondary
#974BB0
accent
#47E0BB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387D22

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

Preview Lab → · Contrast checker → · Palette generator →

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