#388D15#388D15

#388D15 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.170 H 138.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#388D15
RGBrgb(56, 141, 21)
HSLhsl(103, 74%, 32%)
HSVhsv(103, 85%, 55%)
CMYKcmyk(60.3%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.77, -46.34, 50.57)
CIE-LCHlch(51.77, 68.59, 132.50°)
OKLaboklab(56.9% -0.1278 0.1113)
OKLCHoklch(56.9% 0.17 138.9)
XYZxyz(11.2907, 19.9436, 3.9638)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D15 #6A158D
analogous
#748D15 #388D15 #158D2E
triadic
#388D15 #15388D #8D1538
tetradic
#388D15 #15748D #6A158D #8D2E15
square
#388D15 #15748D #6A158D #8D2E15
split-complementary
#388D15 #2E158D #8D1574
monochromatic
#0E2205 #23580D #388D15 #4DC21D #6BE23B

Accessibility & contrast

On white

4.21
#388D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#388D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388D15
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388D15#FFFFFF#000000##000000
##388D151.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#2E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388d15;
/* rgb */ color: rgb(56, 141, 21);
/* oklch */ color: oklch(56.9% 0.170 138.9);
Tailwind
colors: {
  custom: {
    50: '#7aaf5f',
    500: '#388d15',
    950: '#000000',
  },
}
SCSS
$custom: #388d15;
$custom-light: #7aaf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#388d15",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 102.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.569,
    "c": 0.16952,
    "h": 138.9
  },
  "luminance": 0.19945
}

Semantic roles & 50–950 ramp

primary
#388D15
secondary
#9A3DC1
accent
#37F1BB
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388D15

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

Preview Lab → · Contrast checker → · Palette generator →

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