#387C22#387C22

#387C22 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.141 H 139.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#387C22
RGBrgb(56, 124, 34)
HSLhsl(105, 57%, 31%)
HSVhsv(105, 73%, 49%)
CMYKcmyk(54.8%, 0%, 72.6%, 51.4%)
CIE-LABlab(46.14, -38.87, 40.65)
CIE-LCHlch(46.14, 56.25, 133.72°)
OKLaboklab(52.27% -0.107 0.0925)
OKLCHoklch(52.27% 0.141 139.1)
XYZxyz(9.1269, 15.3708, 3.9990)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387C22 #66227C
analogous
#657C22 #387C22 #227C39
triadic
#387C22 #22387C #7C2238
tetradic
#387C22 #22657C #66227C #7C3922
square
#387C22 #22657C #66227C #7C3922
split-complementary
#387C22 #39227C #7C2265
monochromatic
#0D1C08 #224C15 #387C22 #4EAC2F #6BCE4B

Accessibility & contrast

On white

5.15
#387C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#387C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387C22
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387C22#FFFFFF#000000##FFFFFF
##387C221.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#32786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #387c22;
/* rgb */ color: rgb(56, 124, 34);
/* oklch */ color: oklch(52.3% 0.141 139.1);
Tailwind
colors: {
  custom: {
    50: '#76a263',
    500: '#387c22',
    950: '#000000',
  },
}
SCSS
$custom: #387c22;
$custom-light: #76a263;
$custom-dark: #000000;
JSON
{
  "hex": "#387c22",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 105.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.14144,
    "h": 139.1
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#387C22
secondary
#964BAF
accent
#48E0BB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387C22

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

Preview Lab → · Contrast checker → · Palette generator →

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