#387D23#387D23

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

Color values

HEX#387D23
RGBrgb(56, 125, 35)
HSLhsl(106, 56%, 31%)
HSVhsv(106, 72%, 49%)
CMYKcmyk(55.2%, 0%, 72%, 51%)
CIE-LABlab(46.48, -39.19, 40.60)
CIE-LCHlch(46.48, 56.43, 133.99°)
OKLaboklab(52.56% -0.1078 0.0925)
OKLCHoklch(52.56% 0.142 139.3)
XYZxyz(9.2675, 15.6286, 4.1180)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D23 #68237D
analogous
#657D23 #387D23 #237D3B
triadic
#387D23 #23387D #7D2338
tetradic
#387D23 #23657D #68237D #7D3B23
square
#387D23 #23657D #68237D #7D3B23
split-complementary
#387D23 #3B237D #7D2365
monochromatic
#0D1D08 #234D16 #387D23 #4DAD30 #6BCD4D

Accessibility & contrast

On white

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

On black

4.13
#387D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387D23#FFFFFF#000000##FFFFFF
##387D231.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387d23;
/* rgb */ color: rgb(56, 125, 35);
/* oklch */ color: oklch(52.6% 0.142 139.3);
Tailwind
colors: {
  custom: {
    50: '#76a363',
    500: '#387d23',
    950: '#000000',
  },
}
SCSS
$custom: #387d23;
$custom-light: #76a363;
$custom-dark: #000000;
JSON
{
  "hex": "#387d23",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 106,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.14205,
    "h": 139.3
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#387D23
secondary
#984CAF
accent
#48E0BC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387D23

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

Preview Lab → · Contrast checker → · Palette generator →

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