#388B1C#388B1C

#388B1C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.164 H 139.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#388B1C
RGBrgb(56, 139, 28)
HSLhsl(105, 66%, 33%)
HSVhsv(105, 80%, 55%)
CMYKcmyk(59.7%, 0%, 79.9%, 45.5%)
CIE-LABlab(51.14, -45.20, 47.88)
CIE-LCHlch(51.14, 65.84, 133.35°)
OKLaboklab(56.39% -0.1244 0.1067)
OKLCHoklch(56.39% 0.164 139.4)
XYZxyz(11.0726, 19.3889, 4.2573)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388B1C #6F1C8B
analogous
#6F8B1C #388B1C #1C8B38
triadic
#388B1C #1C388B #8B1C38
tetradic
#388B1C #1C6F8B #6F1C8B #8B381C
square
#388B1C #1C6F8B #6F1C8B #8B381C
split-complementary
#388B1C #381C8B #8B1C6F
monochromatic
#0F2507 #235812 #388B1C #4DBE26 #6CDA47

Accessibility & contrast

On white

4.31
#388B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#388B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388B1C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388B1C#FFFFFF#000000##000000
##388B1C1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#2E8676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #388b1c;
/* rgb */ color: rgb(56, 139, 28);
/* oklch */ color: oklch(56.4% 0.164 139.4);
Tailwind
colors: {
  custom: {
    50: '#79ae62',
    500: '#388b1c',
    950: '#000000',
  },
}
SCSS
$custom: #388b1c;
$custom-light: #79ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#388b1c",
  "rgb": {
    "r": 56,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 104.865,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.16391,
    "h": 139.4
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#388B1C
secondary
#9E47BC
accent
#3EE9BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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