#387E1A#387E1A

#387E1A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.149 H 138.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#387E1A
RGBrgb(56, 126, 26)
HSLhsl(102, 66%, 30%)
HSVhsv(102, 79%, 49%)
CMYKcmyk(55.6%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.76, -40.29, 44.34)
CIE-LCHlch(46.76, 59.92, 132.26°)
OKLaboklab(52.77% -0.1113 0.0991)
OKLCHoklch(52.77% 0.149 138.3)
XYZxyz(9.2779, 15.8363, 3.5449)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E1A #601A7E
analogous
#6A7E1A #387E1A #1A7E2E
triadic
#387E1A #1A387E #7E1A38
tetradic
#387E1A #1A6A7E #601A7E #7E2E1A
square
#387E1A #1A6A7E #601A7E #7E2E1A
split-complementary
#387E1A #2E1A7E #7E1A6A
monochromatic
#0B1905 #214B10 #387E1A #4FB124 #6AD73C

Accessibility & contrast

On white

5.04
#387E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#387E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E1A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E1A#FFFFFF#000000##FFFFFF
##387E1A1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e1a;
/* rgb */ color: rgb(56, 126, 26);
/* oklch */ color: oklch(52.8% 0.149 138.3);
Tailwind
colors: {
  custom: {
    50: '#77a45f',
    500: '#387e1a',
    950: '#000000',
  },
}
SCSS
$custom: #387e1a;
$custom-light: #77a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#387e1a",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 102,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.14901,
    "h": 138.3
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#387E1A
secondary
#9042B2
accent
#3FE9B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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