#388B31#388B31

#388B31 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.150 H 142.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#388B31
RGBrgb(56, 139, 49)
HSLhsl(115, 48%, 37%)
HSVhsv(115, 65%, 55%)
CMYKcmyk(59.7%, 0%, 64.7%, 45.5%)
CIE-LABlab(51.30, -43.37, 39.62)
CIE-LCHlch(51.30, 58.74, 137.59°)
OKLaboklab(56.57% -0.1182 0.0922)
OKLCHoklch(56.57% 0.15 142.1)
XYZxyz(11.4173, 19.5267, 6.0725)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388B31 #84318B
analogous
#658B31 #388B31 #318B57
triadic
#388B31 #31388B #8B3138
tetradic
#388B31 #31658B #84318B #8B5731
square
#388B31 #31658B #84318B #8B5731
split-complementary
#388B31 #57318B #8B3165
monochromatic
#143111 #265E21 #388B31 #4AB841 #73CB6B

Accessibility & contrast

On white

4.28
#388B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#388B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388B31
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388B31#FFFFFF#000000##000000
##388B311.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F26
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#2B8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #388b31;
/* rgb */ color: rgb(56, 139, 49);
/* oklch */ color: oklch(56.6% 0.150 142.1);
Tailwind
colors: {
  custom: {
    50: '#78ae6d',
    500: '#388b31',
    950: '#000000',
  },
}
SCSS
$custom: #388b31;
$custom-light: #78ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#388b31",
  "rgb": {
    "r": 56,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 115.333,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.1499,
    "h": 142.1
  },
  "luminance": 0.19528
}

Semantic roles & 50–950 ramp

primary
#388B31
secondary
#AC65B2
accent
#50D7CD
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #388B31

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

Preview Lab → · Contrast checker → · Palette generator →

#388B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva