#388940#388940

#388940 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.134 H 145.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#388940
RGBrgb(56, 137, 64)
HSLhsl(126, 42%, 38%)
HSVhsv(126, 59%, 54%)
CMYKcmyk(59.1%, 0%, 53.3%, 46.3%)
CIE-LABlab(50.81, -40.65, 31.66)
CIE-LCHlch(50.81, 51.52, 142.09°)
OKLaboklab(56.22% -0.1101 0.0762)
OKLCHoklch(56.22% 0.134 145.3)
XYZxyz(11.5013, 19.1012, 7.9303)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388940 #893881
analogous
#588938 #388940 #388968
triadic
#388940 #403889 #894038
tetradic
#388940 #385889 #893881 #896838
square
#388940 #385889 #893881 #896838
split-complementary
#388940 #683889 #893858
monochromatic
#143217 #265E2C #388940 #4AB454 #75C77D

Accessibility & contrast

On white

4.36
#388940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#388940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388940
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388940#FFFFFF#000000##000000
##3889401.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3A
Deuteranopia (green-blind)
#817645
Tritanopia (blue-blind)
#288678
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #388940;
/* rgb */ color: rgb(56, 137, 64);
/* oklch */ color: oklch(56.2% 0.134 145.3);
Tailwind
colors: {
  custom: {
    50: '#77ac76',
    500: '#388940',
    950: '#000000',
  },
}
SCSS
$custom: #388940;
$custom-light: #77ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#388940",
  "rgb": {
    "r": 56,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 125.926,
    "s": 41.969,
    "l": 37.843
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.13392,
    "h": 145.3
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#388940
secondary
#AF6DA9
accent
#56C6D2
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #388940

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

Preview Lab → · Contrast checker → · Palette generator →

#388940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva