#388D40#388D40

#388D40 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.140 H 145.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#388D40
RGBrgb(56, 141, 64)
HSLhsl(126, 43%, 39%)
HSVhsv(126, 60%, 55%)
CMYKcmyk(60.3%, 0%, 54.6%, 44.7%)
CIE-LABlab(52.13, -42.27, 33.27)
CIE-LCHlch(52.13, 53.79, 141.79°)
OKLaboklab(57.31% -0.1145 0.0798)
OKLCHoklch(57.31% 0.14 145.1)
XYZxyz(12.0804, 20.2596, 8.1234)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D40 #8D3885
analogous
#5A8D38 #388D40 #388D6A
triadic
#388D40 #40388D #8D4038
tetradic
#388D40 #385A8D #8D3885 #8D6A38
square
#388D40 #385A8D #8D3885 #8D6A38
split-complementary
#388D40 #6A388D #8D385A
monochromatic
#153518 #27612C #388D40 #4BB755 #77C97E

Accessibility & contrast

On white

4.16
#388D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#388D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388D40
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388D40#FFFFFF#000000##000000
##388D401.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#278A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388d40;
/* rgb */ color: rgb(56, 141, 64);
/* oklch */ color: oklch(57.3% 0.140 145.1);
Tailwind
colors: {
  custom: {
    50: '#78af77',
    500: '#388d40',
    950: '#000000',
  },
}
SCSS
$custom: #388d40;
$custom-light: #78af77;
$custom-dark: #000000;
JSON
{
  "hex": "#388d40",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 125.647,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57308,
    "c": 0.13955,
    "h": 145.1
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#388D40
secondary
#B26FAC
accent
#55C7D3
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #388D40

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

Preview Lab → · Contrast checker → · Palette generator →

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