#387B1F#387B1F

#387B1F is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.142 H 138.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#387B1F
RGBrgb(56, 123, 31)
HSLhsl(104, 60%, 30%)
HSVhsv(104, 75%, 48%)
CMYKcmyk(54.5%, 0%, 74.8%, 51.8%)
CIE-LABlab(45.78, -38.72, 41.50)
CIE-LCHlch(45.78, 56.76, 133.01°)
OKLaboklab(51.97% -0.1068 0.0939)
OKLCHoklch(51.97% 0.142 138.7)
XYZxyz(8.9608, 15.1049, 3.7394)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B1F #621F7B
analogous
#667B1F #387B1F #1F7B34
triadic
#387B1F #1F387B #7B1F38
tetradic
#387B1F #1F667B #621F7B #7B341F
square
#387B1F #1F667B #621F7B #7B341F
split-complementary
#387B1F #341F7B #7B1F66
monochromatic
#0B1906 #224A13 #387B1F #4EAC2B #6AD044

Accessibility & contrast

On white

5.22
#387B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#387B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B1F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B1F#FFFFFF#000000##FFFFFF
##387B1F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#327769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b1f;
/* rgb */ color: rgb(56, 123, 31);
/* oklch */ color: oklch(52.0% 0.142 138.7);
Tailwind
colors: {
  custom: {
    50: '#76a261',
    500: '#387b1f',
    950: '#000000',
  },
}
SCSS
$custom: #387b1f;
$custom-light: #76a261;
$custom-dark: #000000;
JSON
{
  "hex": "#387b1f",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 103.696,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.14216,
    "h": 138.7
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#387B1F
secondary
#9248AE
accent
#45E3B8
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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