#388A40#388A40

#388A40 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.135 H 145.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#388A40
RGBrgb(56, 138, 64)
HSLhsl(126, 42%, 38%)
HSVhsv(126, 59%, 54%)
CMYKcmyk(59.4%, 0%, 53.6%, 45.9%)
CIE-LABlab(51.14, -41.05, 32.06)
CIE-LCHlch(51.14, 52.09, 142.01°)
OKLaboklab(56.49% -0.1112 0.0771)
OKLCHoklch(56.49% 0.135 145.3)
XYZxyz(11.6441, 19.3868, 7.9779)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A40 #8A3882
analogous
#598A38 #388A40 #388A69
triadic
#388A40 #40388A #8A4038
tetradic
#388A40 #38598A #8A3882 #8A6938
square
#388A40 #38598A #8A3882 #8A6938
split-complementary
#388A40 #69388A #8A3859
monochromatic
#153318 #265E2C #388A40 #4AB554 #75C77D

Accessibility & contrast

On white

4.31
#388A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#388A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388A40
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388A40#FFFFFF#000000##000000
##388A401.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E39
Deuteranopia (green-blind)
#827745
Tritanopia (blue-blind)
#288779
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #388a40;
/* rgb */ color: rgb(56, 138, 64);
/* oklch */ color: oklch(56.5% 0.135 145.3);
Tailwind
colors: {
  custom: {
    50: '#77ad76',
    500: '#388a40',
    950: '#000000',
  },
}
SCSS
$custom: #388a40;
$custom-light: #77ad76;
$custom-dark: #000000;
JSON
{
  "hex": "#388a40",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 125.854,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.13534,
    "h": 145.3
  },
  "luminance": 0.19388
}

Semantic roles & 50–950 ramp

primary
#388A40
secondary
#B06EAA
accent
#56C6D2
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #388A40

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

Preview Lab → · Contrast checker → · Palette generator →

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