#388C40#388C40

#388C40 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.138 H 145.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#388C40
RGBrgb(56, 140, 64)
HSLhsl(126, 43%, 38%)
HSVhsv(126, 60%, 55%)
CMYKcmyk(60%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.80, -41.87, 32.87)
CIE-LCHlch(51.80, 53.23, 141.87°)
OKLaboklab(57.04% -0.1134 0.0789)
OKLCHoklch(57.04% 0.138 145.2)
XYZxyz(11.9337, 19.9660, 8.0744)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C40 #8C3884
analogous
#5A8C38 #388C40 #388C6A
triadic
#388C40 #40388C #8C4038
tetradic
#388C40 #385A8C #8C3884 #8C6A38
square
#388C40 #385A8C #8C3884 #8C6A38
split-complementary
#388C40 #6A388C #8C385A
monochromatic
#153518 #27602C #388C40 #4AB755 #76C87E

Accessibility & contrast

On white

4.21
#388C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#388C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C40
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C40#FFFFFF#000000##000000
##388C401.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#837946
Tritanopia (blue-blind)
#27897B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c40;
/* rgb */ color: rgb(56, 140, 64);
/* oklch */ color: oklch(57.0% 0.138 145.2);
Tailwind
colors: {
  custom: {
    50: '#77ae77',
    500: '#388c40',
    950: '#000000',
  },
}
SCSS
$custom: #388c40;
$custom-light: #77ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#388c40",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 125.714,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.13815,
    "h": 145.2
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#388C40
secondary
#B16FAB
accent
#55C7D3
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #388C40

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

Preview Lab → · Contrast checker → · Palette generator →

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