#388D31#388D31

#388D31 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.153 H 142.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#388D31
RGBrgb(56, 141, 49)
HSLhsl(115, 48%, 37%)
HSVhsv(115, 65%, 55%)
CMYKcmyk(60.3%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.96, -44.15, 40.36)
CIE-LCHlch(51.96, 59.82, 137.57°)
OKLaboklab(57.12% -0.1203 0.0938)
OKLCHoklch(57.12% 0.153 142.1)
XYZxyz(11.7095, 20.1112, 6.1699)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D31 #86318D
analogous
#668D31 #388D31 #318D58
triadic
#388D31 #31388D #8D3138
tetradic
#388D31 #31668D #86318D #8D5831
square
#388D31 #31668D #86318D #8D5831
split-complementary
#388D31 #58318D #8D3166
monochromatic
#143211 #266021 #388D31 #4ABA41 #74CC6C

Accessibility & contrast

On white

4.18
#388D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#388D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388D31
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388D31#FFFFFF#000000##000000
##388D311.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#867939
Tritanopia (blue-blind)
#2B897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388d31;
/* rgb */ color: rgb(56, 141, 49);
/* oklch */ color: oklch(57.1% 0.153 142.1);
Tailwind
colors: {
  custom: {
    50: '#78af6d',
    500: '#388d31',
    950: '#000000',
  },
}
SCSS
$custom: #388d31;
$custom-light: #78af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#388d31",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 115.435,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.15254,
    "h": 142.1
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#388D31
secondary
#AE66B4
accent
#50D8CE
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #388D31

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

Preview Lab → · Contrast checker → · Palette generator →

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