#387E24#387E24

#387E24 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.143 H 139.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#387E24
RGBrgb(56, 126, 36)
HSLhsl(107, 56%, 32%)
HSVhsv(107, 71%, 49%)
CMYKcmyk(55.6%, 0%, 71.4%, 50.6%)
CIE-LABlab(46.83, -39.51, 40.54)
CIE-LCHlch(46.83, 56.61, 134.26°)
OKLaboklab(52.85% -0.1086 0.0925)
OKLCHoklch(52.85% 0.143 139.6)
XYZxyz(9.4098, 15.8891, 4.2398)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E24 #6A247E
analogous
#657E24 #387E24 #247E3D
triadic
#387E24 #24387E #7E2438
tetradic
#387E24 #24657E #6A247E #7E3D24
square
#387E24 #24657E #6A247E #7E3D24
split-complementary
#387E24 #3D247E #7E2465
monochromatic
#0E1F09 #234E16 #387E24 #4DAE32 #6BCD50

Accessibility & contrast

On white

5.03
#387E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#387E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E24
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E24#FFFFFF#000000##FFFFFF
##387E241.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827317
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#317A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e24;
/* rgb */ color: rgb(56, 126, 36);
/* oklch */ color: oklch(52.8% 0.143 139.6);
Tailwind
colors: {
  custom: {
    50: '#76a464',
    500: '#387e24',
    950: '#000000',
  },
}
SCSS
$custom: #387e24;
$custom-light: #76a464;
$custom-dark: #000000;
JSON
{
  "hex": "#387e24",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 106.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.14266,
    "h": 139.6
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#387E24
secondary
#9A4EB0
accent
#49DFBE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387E24

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

Preview Lab → · Contrast checker → · Palette generator →

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