#388E31#388E31

#388E31 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.154 H 142.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#388E31
RGBrgb(56, 142, 49)
HSLhsl(115, 49%, 37%)
HSVhsv(115, 65%, 56%)
CMYKcmyk(60.6%, 0%, 65.5%, 44.3%)
CIE-LABlab(52.29, -44.54, 40.73)
CIE-LCHlch(52.29, 60.35, 137.56°)
OKLaboklab(57.39% -0.1214 0.0945)
OKLCHoklch(57.39% 0.154 142.1)
XYZxyz(11.8577, 20.4074, 6.2193)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388E31 #87318E
analogous
#668E31 #388E31 #318E59
triadic
#388E31 #31388E #8E3138
tetradic
#388E31 #31668E #87318E #8E5931
square
#388E31 #31668E #87318E #8E5931
split-complementary
#388E31 #59318E #8E3166
monochromatic
#143312 #266121 #388E31 #4ABB41 #74CD6D

Accessibility & contrast

On white

4.13
#388E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#388E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388E31
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388E31#FFFFFF#000000##000000
##388E311.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#867A39
Tritanopia (blue-blind)
#2A8A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388e31;
/* rgb */ color: rgb(56, 142, 49);
/* oklch */ color: oklch(57.4% 0.154 142.1);
Tailwind
colors: {
  custom: {
    50: '#79b06d',
    500: '#388e31',
    950: '#000000',
  },
}
SCSS
$custom: #388e31;
$custom-light: #79b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#388e31",
  "rgb": {
    "r": 56,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 115.484,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57391,
    "c": 0.15385,
    "h": 142.1
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #388E31

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

Preview Lab → · Contrast checker → · Palette generator →

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