#387F26#387F26

#387F26 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.143 H 139.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#387F26
RGBrgb(56, 127, 38)
HSLhsl(108, 54%, 32%)
HSVhsv(108, 70%, 50%)
CMYKcmyk(55.9%, 0%, 70.1%, 50.2%)
CIE-LABlab(47.18, -39.73, 40.05)
CIE-LCHlch(47.18, 56.42, 134.77°)
OKLaboklab(53.14% -0.109 0.0918)
OKLCHoklch(53.14% 0.143 139.9)
XYZxyz(9.5697, 16.1587, 4.4480)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F26 #6D267F
analogous
#657F26 #387F26 #267F40
triadic
#387F26 #26387F #7F2638
tetradic
#387F26 #26657F #6D267F #7F4026
square
#387F26 #26657F #6D267F #7F4026
split-complementary
#387F26 #40267F #7F2665
monochromatic
#0E210A #235018 #387F26 #4DAE34 #6CCC54

Accessibility & contrast

On white

4.96
#387F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#387F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F26
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F26#FFFFFF#000000##FFFFFF
##387F261.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741A
Deuteranopia (green-blind)
#796E2E
Tritanopia (blue-blind)
#307B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f26;
/* rgb */ color: rgb(56, 127, 38);
/* oklch */ color: oklch(53.1% 0.143 139.9);
Tailwind
colors: {
  custom: {
    50: '#76a565',
    500: '#387f26',
    950: '#000000',
  },
}
SCSS
$custom: #387f26;
$custom-light: #76a565;
$custom-dark: #000000;
JSON
{
  "hex": "#387f26",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 107.865,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.14252,
    "h": 139.9
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#387F26
secondary
#9D51B0
accent
#4ADDC0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387F26

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

Preview Lab → · Contrast checker → · Palette generator →

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