#387E25#387E25

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

Color values

HEX#387E25
RGBrgb(56, 126, 37)
HSLhsl(107, 55%, 32%)
HSVhsv(107, 71%, 49%)
CMYKcmyk(55.6%, 0%, 70.6%, 50.6%)
CIE-LABlab(46.84, -39.42, 40.12)
CIE-LCHlch(46.84, 56.24, 134.49°)
OKLaboklab(52.86% -0.1082 0.0918)
OKLCHoklch(52.86% 0.142 139.7)
XYZxyz(9.4253, 15.8953, 4.3213)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E25 #6B257E
analogous
#657E25 #387E25 #257E3F
triadic
#387E25 #25387E #7E2538
tetradic
#387E25 #25657E #6B257E #7E3F25
square
#387E25 #25657E #6B257E #7E3F25
split-complementary
#387E25 #3F257E #7E2565
monochromatic
#0E1F09 #234F17 #387E25 #4DAD33 #6CCC51

Accessibility & contrast

On white

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

On black

4.18
#387E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387E25#FFFFFF#000000##FFFFFF
##387E251.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827318
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#317A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e25;
/* rgb */ color: rgb(56, 126, 37);
/* oklch */ color: oklch(52.9% 0.142 139.7);
Tailwind
colors: {
  custom: {
    50: '#76a465',
    500: '#387e25',
    950: '#000000',
  },
}
SCSS
$custom: #387e25;
$custom-light: #76a465;
$custom-dark: #000000;
JSON
{
  "hex": "#387e25",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 107.191,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.14193,
    "h": 139.7
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#387E25
secondary
#9B4FB0
accent
#4ADEBE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387E25

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

Preview Lab → · Contrast checker → · Palette generator →

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