#388B42#388B42

#388B42 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.135 H 145.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#388B42
RGBrgb(56, 139, 66)
HSLhsl(127, 43%, 38%)
HSVhsv(127, 60%, 55%)
CMYKcmyk(59.7%, 0%, 52.5%, 45.5%)
CIE-LABlab(51.49, -41.17, 31.46)
CIE-LCHlch(51.49, 51.81, 142.61°)
OKLaboklab(56.79% -0.1115 0.0759)
OKLCHoklch(56.79% 0.135 145.8)
XYZxyz(11.8461, 19.6983, 8.3311)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388B42 #8B3881
analogous
#578B38 #388B42 #388B6B
triadic
#388B42 #42388B #8B4238
tetradic
#388B42 #38578B #8B3881 #8B6B38
square
#388B42 #38578B #8B3881 #8B6B38
split-complementary
#388B42 #6B388B #8B3857
monochromatic
#153419 #265F2D #388B42 #4AB657 #76C880

Accessibility & contrast

On white

4.25
#388B42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#388B42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388B42
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388B42#FFFFFF#000000##000000
##388B421.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3C
Deuteranopia (green-blind)
#827847
Tritanopia (blue-blind)
#27887A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388b42;
/* rgb */ color: rgb(56, 139, 66);
/* oklch */ color: oklch(56.8% 0.135 145.8);
Tailwind
colors: {
  custom: {
    50: '#77ae78',
    500: '#388b42',
    950: '#000000',
  },
}
SCSS
$custom: #388b42;
$custom-light: #77ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#388b42",
  "rgb": {
    "r": 56,
    "g": 139,
    "b": 66
  },
  "hsl": {
    "h": 127.229,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.13485,
    "h": 145.8
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#388B42
secondary
#B16EA9
accent
#55C3D2
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #388B42

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

Preview Lab → · Contrast checker → · Palette generator →

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