#387E23#387E23

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

Color values

HEX#387E23
RGBrgb(56, 126, 35)
HSLhsl(106, 57%, 32%)
HSVhsv(106, 72%, 49%)
CMYKcmyk(55.6%, 0%, 72.2%, 50.6%)
CIE-LABlab(46.82, -39.60, 40.95)
CIE-LCHlch(46.82, 56.96, 134.04°)
OKLaboklab(52.84% -0.1089 0.0933)
OKLCHoklch(52.84% 0.143 139.4)
XYZxyz(9.3947, 15.8831, 4.1605)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E23 #69237E
analogous
#667E23 #387E23 #237E3C
triadic
#387E23 #23387E #7E2338
tetradic
#387E23 #23667E #69237E #7E3C23
square
#387E23 #23667E #69237E #7E3C23
split-complementary
#387E23 #3C237E #7E2366
monochromatic
#0D1E08 #234E16 #387E23 #4DAE30 #6BCE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387E23#FFFFFF#000000##FFFFFF
##387E231.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)
#827315
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#317A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e23;
/* rgb */ color: rgb(56, 126, 35);
/* oklch */ color: oklch(52.8% 0.143 139.4);
Tailwind
colors: {
  custom: {
    50: '#76a463',
    500: '#387e23',
    950: '#000000',
  },
}
SCSS
$custom: #387e23;
$custom-light: #76a463;
$custom-dark: #000000;
JSON
{
  "hex": "#387e23",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 106.154,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.14337,
    "h": 139.4
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#387E23
secondary
#994CB0
accent
#48E0BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387E23

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

Preview Lab → · Contrast checker → · Palette generator →

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