#388D17#388D17

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

Color values

HEX#388D17
RGBrgb(56, 141, 23)
HSLhsl(103, 72%, 32%)
HSVhsv(103, 84%, 55%)
CMYKcmyk(60.3%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.78, -46.23, 50.02)
CIE-LCHlch(51.78, 68.11, 132.75°)
OKLaboklab(56.91% -0.1275 0.1105)
OKLCHoklch(56.91% 0.169 139.1)
XYZxyz(11.3100, 19.9514, 4.0654)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D17 #6C178D
analogous
#738D17 #388D17 #178D31
triadic
#388D17 #17388D #8D1738
tetradic
#388D17 #17738D #6C178D #8D3117
square
#388D17 #17738D #6C178D #8D3117
split-complementary
#388D17 #31178D #8D1773
monochromatic
#0E2406 #23580E #388D17 #4DC220 #6CE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388D17#FFFFFF#000000##000000
##388D171.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)
#877926
Tritanopia (blue-blind)
#2E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388d17;
/* rgb */ color: rgb(56, 141, 23);
/* oklch */ color: oklch(56.9% 0.169 139.1);
Tailwind
colors: {
  custom: {
    50: '#7aaf60',
    500: '#388d17',
    950: '#000000',
  },
}
SCSS
$custom: #388d17;
$custom-light: #7aaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#388d17",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 103.22,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.16868,
    "h": 139.1
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#388D17
secondary
#9C40C0
accent
#39EFBC
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388D17

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

Preview Lab → · Contrast checker → · Palette generator →

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