#388C2D#388C2D

#388C2D is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.154 H 141.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#388C2D
RGBrgb(56, 140, 45)
HSLhsl(113, 51%, 36%)
HSVhsv(113, 68%, 55%)
CMYKcmyk(60%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.59, -44.18, 41.74)
CIE-LCHlch(51.59, 60.78, 136.63°)
OKLaboklab(56.8% -0.1206 0.0962)
OKLCHoklch(56.8% 0.154 141.4)
XYZxyz(11.4821, 19.7854, 5.6960)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C2D #812D8C
analogous
#688C2D #388C2D #2D8C52
triadic
#388C2D #2D388C #8C2D38
tetradic
#388C2D #2D688C #812D8C #8C522D
square
#388C2D #2D688C #812D8C #8C522D
split-complementary
#388C2D #522D8C #8C2D68
monochromatic
#132F0F #255E1E #388C2D #4BBA3C #72CE66

Accessibility & contrast

On white

4.24
#388C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#388C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C2D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C2D#FFFFFF#000000##000000
##388C2D1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#2C8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c2d;
/* rgb */ color: rgb(56, 140, 45);
/* oklch */ color: oklch(56.8% 0.154 141.4);
Tailwind
colors: {
  custom: {
    50: '#78ae6b',
    500: '#388c2d',
    950: '#000000',
  },
}
SCSS
$custom: #388c2d;
$custom-light: #78ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#388c2d",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 113.053,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56801,
    "c": 0.15432,
    "h": 141.4
  },
  "luminance": 0.19786
}

Semantic roles & 50–950 ramp

primary
#388C2D
secondary
#AB60B4
accent
#4DDBCA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #388C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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