#387A1A#387A1A

#387A1A is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.7% C 0.144 H 138.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#387A1A
RGBrgb(56, 122, 26)
HSLhsl(101, 65%, 29%)
HSVhsv(101, 79%, 48%)
CMYKcmyk(54.1%, 0%, 78.7%, 52.2%)
CIE-LABlab(45.41, -38.68, 43.03)
CIE-LCHlch(45.41, 57.86, 131.96°)
OKLaboklab(51.65% -0.107 0.0963)
OKLCHoklch(51.65% 0.144 138)
XYZxyz(8.7766, 14.8337, 3.3778)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A1A #5C1A7A
analogous
#687A1A #387A1A #1A7A2C
triadic
#387A1A #1A387A #7A1A38
tetradic
#387A1A #1A687A #5C1A7A #7A2C1A
square
#387A1A #1A687A #5C1A7A #7A2C1A
split-complementary
#387A1A #2C1A7A #7A1A68
monochromatic
#0C1905 #21480F #387A1A #4FAC25 #6AD539

Accessibility & contrast

On white

5.29
#387A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#387A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A1A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A1A#FFFFFF#000000##FFFFFF
##387A1A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#766924
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387a1a;
/* rgb */ color: rgb(56, 122, 26);
/* oklch */ color: oklch(51.7% 0.144 138.0);
Tailwind
colors: {
  custom: {
    50: '#76a15e',
    500: '#387a1a',
    950: '#000000',
  },
}
SCSS
$custom: #387a1a;
$custom-light: #76a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#387a1a",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 101.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.14396,
    "h": 138
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#387A1A
secondary
#8C41AE
accent
#40E8B3
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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