#387C1A#387C1A

#387C1A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.146 H 138.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#387C1A
RGBrgb(56, 124, 26)
HSLhsl(102, 65%, 29%)
HSVhsv(102, 79%, 49%)
CMYKcmyk(54.8%, 0%, 79%, 51.4%)
CIE-LABlab(46.08, -39.49, 43.69)
CIE-LCHlch(46.08, 58.89, 132.11°)
OKLaboklab(52.21% -0.1092 0.0977)
OKLCHoklch(52.21% 0.147 138.2)
XYZxyz(9.0247, 15.3299, 3.4605)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387C1A #5E1A7C
analogous
#697C1A #387C1A #1A7C2D
triadic
#387C1A #1A387C #7C1A38
tetradic
#387C1A #1A697C #5E1A7C #7C2D1A
square
#387C1A #1A697C #5E1A7C #7C2D1A
split-complementary
#387C1A #2D1A7C #7C1A69
monochromatic
#0B1905 #21490F #387C1A #4FAF25 #6AD63B

Accessibility & contrast

On white

5.16
#387C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#387C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387C1A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387C1A#FFFFFF#000000##FFFFFF
##387C1A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#327769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #387c1a;
/* rgb */ color: rgb(56, 124, 26);
/* oklch */ color: oklch(52.2% 0.146 138.2);
Tailwind
colors: {
  custom: {
    50: '#76a25f',
    500: '#387c1a',
    950: '#000000',
  },
}
SCSS
$custom: #387c1a;
$custom-light: #76a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#387c1a",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 101.633,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.1465,
    "h": 138.2
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

primary
#387C1A
secondary
#8E42B0
accent
#40E8B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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