#387F21#387F21

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

Color values

HEX#387F21
RGBrgb(56, 127, 33)
HSLhsl(105, 59%, 31%)
HSVhsv(105, 74%, 50%)
CMYKcmyk(55.9%, 0%, 74%, 50.2%)
CIE-LABlab(47.14, -40.17, 42.10)
CIE-LCHlch(47.14, 58.19, 133.66°)
OKLaboklab(53.1% -0.1105 0.0954)
OKLCHoklch(53.1% 0.146 139.2)
XYZxyz(9.4944, 16.1285, 4.0514)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F21 #68217F
analogous
#677F21 #387F21 #217F39
triadic
#387F21 #21387F #7F2138
tetradic
#387F21 #21677F #68217F #7F3921
square
#387F21 #21677F #68217F #7F3921
split-complementary
#387F21 #39217F #7F2167
monochromatic
#0D1E08 #234E14 #387F21 #4DB02E #6BD04A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387F21#FFFFFF#000000##FFFFFF
##387F211.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)
#837311
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#317B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f21;
/* rgb */ color: rgb(56, 127, 33);
/* oklch */ color: oklch(53.1% 0.146 139.2);
Tailwind
colors: {
  custom: {
    50: '#77a562',
    500: '#387f21',
    950: '#000000',
  },
}
SCSS
$custom: #387f21;
$custom-light: #77a562;
$custom-dark: #000000;
JSON
{
  "hex": "#387f21",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 105.319,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53099,
    "c": 0.14602,
    "h": 139.2
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#387F21
secondary
#984AB2
accent
#46E2BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387F21

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

Preview Lab → · Contrast checker → · Palette generator →

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