#388C1B#388C1B

#388C1B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.166 H 139.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#388C1B
RGBrgb(56, 140, 27)
HSLhsl(105, 68%, 33%)
HSVhsv(105, 81%, 55%)
CMYKcmyk(60%, 0%, 80.7%, 45.1%)
CIE-LABlab(51.47, -45.63, 48.51)
CIE-LCHlch(51.47, 66.60, 133.25°)
OKLaboklab(56.66% -0.1256 0.1079)
OKLCHoklch(56.66% 0.166 139.3)
XYZxyz(11.2063, 19.6751, 4.2438)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C1B #6F1B8C
analogous
#708C1B #388C1B #1B8C37
triadic
#388C1B #1B388C #8C1B38
tetradic
#388C1B #1B708C #6F1B8C #8C371B
square
#388C1B #1B708C #6F1B8C #8C371B
split-complementary
#388C1B #371B8C #8C1B70
monochromatic
#0F2507 #235911 #388C1B #4DBF25 #6CDB46

Accessibility & contrast

On white

4.26
#388C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#388C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C1B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C1B#FFFFFF#000000##000000
##388C1B1.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#2E8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c1b;
/* rgb */ color: rgb(56, 140, 27);
/* oklch */ color: oklch(56.7% 0.166 139.3);
Tailwind
colors: {
  custom: {
    50: '#79ae61',
    500: '#388c1b',
    950: '#000000',
  },
}
SCSS
$custom: #388c1b;
$custom-light: #79ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#388c1b",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 104.602,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56657,
    "c": 0.16562,
    "h": 139.3
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#388C1B
secondary
#9E46BD
accent
#3DEBBE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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