#387A23#387A23

#387A23 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.138 H 139.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#387A23
RGBrgb(56, 122, 35)
HSLhsl(106, 55%, 31%)
HSVhsv(106, 71%, 48%)
CMYKcmyk(54.1%, 0%, 71.3%, 52.2%)
CIE-LABlab(45.47, -37.96, 39.53)
CIE-LCHlch(45.47, 54.81, 133.84°)
OKLaboklab(51.73% -0.1044 0.0903)
OKLCHoklch(51.73% 0.138 139.2)
XYZxyz(8.8934, 14.8805, 3.9934)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A23 #65237A
analogous
#637A23 #387A23 #237A39
triadic
#387A23 #23387A #7A2338
tetradic
#387A23 #23637A #65237A #7A3923
square
#387A23 #23637A #65237A #7A3923
split-complementary
#387A23 #39237A #7A2363
monochromatic
#0C1B08 #224A15 #387A23 #4EAA31 #6BCC4C

Accessibility & contrast

On white

5.28
#387A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#387A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A23
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A23#FFFFFF#000000##FFFFFF
##387A231.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F16
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#327669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387a23;
/* rgb */ color: rgb(56, 122, 35);
/* oklch */ color: oklch(51.7% 0.138 139.2);
Tailwind
colors: {
  custom: {
    50: '#76a163',
    500: '#387a23',
    950: '#000000',
  },
}
SCSS
$custom: #387a23;
$custom-light: #76a163;
$custom-dark: #000000;
JSON
{
  "hex": "#387a23",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 105.517,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.13808,
    "h": 139.2
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

primary
#387A23
secondary
#954CAD
accent
#49DFBB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387A23

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

Preview Lab → · Contrast checker → · Palette generator →

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