#387F25#387F25

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

Color values

HEX#387F25
RGBrgb(56, 127, 37)
HSLhsl(107, 55%, 32%)
HSVhsv(107, 71%, 50%)
CMYKcmyk(55.9%, 0%, 70.9%, 50.2%)
CIE-LABlab(47.17, -39.82, 40.47)
CIE-LCHlch(47.17, 56.78, 134.53°)
OKLaboklab(53.13% -0.1093 0.0925)
OKLCHoklch(53.13% 0.143 139.8)
XYZxyz(9.5538, 16.1523, 4.3642)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F25 #6C257F
analogous
#657F25 #387F25 #257F3F
triadic
#387F25 #25387F #7F2538
tetradic
#387F25 #25657F #6C257F #7F3F25
square
#387F25 #25657F #6C257F #7F3F25
split-complementary
#387F25 #3F257F #7F2565
monochromatic
#0E2009 #235017 #387F25 #4DAE33 #6CCD52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387F25#FFFFFF#000000##FFFFFF
##387F251.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)
#837418
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#307B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f25;
/* rgb */ color: rgb(56, 127, 37);
/* oklch */ color: oklch(53.1% 0.143 139.8);
Tailwind
colors: {
  custom: {
    50: '#76a565',
    500: '#387f25',
    950: '#000000',
  },
}
SCSS
$custom: #387f25;
$custom-light: #76a565;
$custom-dark: #000000;
JSON
{
  "hex": "#387f25",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 107.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.14325,
    "h": 139.8
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#387F25
secondary
#9C4FB1
accent
#4ADEBF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387F25

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

Preview Lab → · Contrast checker → · Palette generator →

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