#387E2A#387E2A

#387E2A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.138 H 140.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#387E2A
RGBrgb(56, 126, 42)
HSLhsl(110, 50%, 33%)
HSVhsv(110, 67%, 49%)
CMYKcmyk(55.6%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.88, -38.92, 37.94)
CIE-LCHlch(46.88, 54.36, 135.73°)
OKLaboklab(52.91% -0.1066 0.0878)
OKLCHoklch(52.91% 0.138 140.5)
XYZxyz(9.5092, 15.9289, 4.7635)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E2A #702A7E
analogous
#627E2A #387E2A #2A7E46
triadic
#387E2A #2A387E #7E2A38
tetradic
#387E2A #2A627E #702A7E #7E462A
square
#387E2A #2A627E #702A7E #7E462A
split-complementary
#387E2A #462A7E #7E2A62
monochromatic
#0F220B #24501B #387E2A #4CAC39 #6DC85A

Accessibility & contrast

On white

5.02
#387E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#387E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E2A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E2A#FFFFFF#000000##FFFFFF
##387E2A1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#307A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e2a;
/* rgb */ color: rgb(56, 126, 42);
/* oklch */ color: oklch(52.9% 0.138 140.5);
Tailwind
colors: {
  custom: {
    50: '#76a467',
    500: '#387e2a',
    950: '#000000',
  },
}
SCSS
$custom: #387e2a;
$custom-light: #76a467;
$custom-dark: #000000;
JSON
{
  "hex": "#387e2a",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 110,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.13811,
    "h": 140.5
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#387E2A
secondary
#9F56AE
accent
#4EDAC2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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