#388E40#388E40

#388E40 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.141 H 145.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#388E40
RGBrgb(56, 142, 64)
HSLhsl(126, 43%, 39%)
HSVhsv(126, 61%, 56%)
CMYKcmyk(60.6%, 0%, 54.9%, 44.3%)
CIE-LABlab(52.46, -42.67, 33.67)
CIE-LCHlch(52.46, 54.35, 141.72°)
OKLaboklab(57.58% -0.1156 0.0806)
OKLCHoklch(57.58% 0.141 145.1)
XYZxyz(12.2286, 20.5558, 8.1727)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388E40 #8E3886
analogous
#5B8E38 #388E40 #388E6B
triadic
#388E40 #40388E #8E4038
tetradic
#388E40 #385B8E #8E3886 #8E6B38
square
#388E40 #385B8E #8E3886 #8E6B38
split-complementary
#388E40 #6B388E #8E385B
monochromatic
#153618 #27622C #388E40 #4BB855 #77C97F

Accessibility & contrast

On white

4.11
#388E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#388E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388E40
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388E40#FFFFFF#000000##000000
##388E401.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#268B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388e40;
/* rgb */ color: rgb(56, 142, 64);
/* oklch */ color: oklch(57.6% 0.141 145.1);
Tailwind
colors: {
  custom: {
    50: '#78b077',
    500: '#388e40',
    950: '#000000',
  },
}
SCSS
$custom: #388e40;
$custom-light: #78b077;
$custom-dark: #000000;
JSON
{
  "hex": "#388e40",
  "rgb": {
    "r": 56,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 125.581,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.14094,
    "h": 145.1
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#388E40
secondary
#B26FAC
accent
#55C7D3
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#0A1009
muted
#7C7F7B

Preview Lab

Preview with #388E40

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

Preview Lab → · Contrast checker → · Palette generator →

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