#388D1B#388D1B

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

Color values

HEX#388D1B
RGBrgb(56, 141, 27)
HSLhsl(105, 68%, 33%)
HSVhsv(105, 81%, 55%)
CMYKcmyk(60.3%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.80, -46.01, 48.83)
CIE-LCHlch(51.80, 67.09, 133.29°)
OKLaboklab(56.93% -0.1266 0.1086)
OKLCHoklch(56.93% 0.167 139.4)
XYZxyz(11.3531, 19.9686, 4.2927)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D1B #701B8D
analogous
#718D1B #388D1B #1B8D37
triadic
#388D1B #1B388D #8D1B38
tetradic
#388D1B #1B718D #701B8D #8D371B
square
#388D1B #1B718D #701B8D #8D371B
split-complementary
#388D1B #371B8D #8D1B71
monochromatic
#0F2607 #245A11 #388D1B #4CC025 #6DDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #388d1b;
/* rgb */ color: rgb(56, 141, 27);
/* oklch */ color: oklch(56.9% 0.167 139.4);
Tailwind
colors: {
  custom: {
    50: '#79af62',
    500: '#388d1b',
    950: '#000000',
  },
}
SCSS
$custom: #388d1b;
$custom-light: #79af62;
$custom-dark: #000000;
JSON
{
  "hex": "#388d1b",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 104.737,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56933,
    "c": 0.16682,
    "h": 139.4
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#388D1B
secondary
#9F46BD
accent
#3DEBBF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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