#388C31#388C31

#388C31 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.151 H 142.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#388C31
RGBrgb(56, 140, 49)
HSLhsl(115, 48%, 37%)
HSVhsv(115, 65%, 55%)
CMYKcmyk(60%, 0%, 65%, 45.1%)
CIE-LABlab(51.63, -43.76, 39.99)
CIE-LCHlch(51.63, 59.28, 137.58°)
OKLaboklab(56.84% -0.1193 0.093)
OKLCHoklch(56.84% 0.151 142.1)
XYZxyz(11.5628, 19.8176, 6.1210)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C31 #85318C
analogous
#658C31 #388C31 #318C58
triadic
#388C31 #31388C #8C3138
tetradic
#388C31 #31658C #85318C #8C5831
square
#388C31 #31658C #85318C #8C5831
split-complementary
#388C31 #58318C #8C3165
monochromatic
#143111 #265F21 #388C31 #4AB941 #73CC6C

Accessibility & contrast

On white

4.23
#388C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#388C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C31
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C31#FFFFFF#000000##000000
##388C311.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#857839
Tritanopia (blue-blind)
#2B8879
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c31;
/* rgb */ color: rgb(56, 140, 49);
/* oklch */ color: oklch(56.8% 0.151 142.1);
Tailwind
colors: {
  custom: {
    50: '#78ae6d',
    500: '#388c31',
    950: '#000000',
  },
}
SCSS
$custom: #388c31;
$custom-light: #78ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#388c31",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 115.385,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.15122,
    "h": 142.1
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#388C31
secondary
#AD66B3
accent
#50D8CD
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #388C31

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

Preview Lab → · Contrast checker → · Palette generator →

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