#388D20#388D20

#388D20 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.164 H 139.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#388D20
RGBrgb(56, 141, 32)
HSLhsl(107, 63%, 34%)
HSVhsv(107, 77%, 55%)
CMYKcmyk(60.3%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.83, -45.68, 47.17)
CIE-LCHlch(51.83, 65.66, 134.08°)
OKLaboklab(56.97% -0.1255 0.1059)
OKLCHoklch(56.97% 0.164 139.8)
XYZxyz(11.4160, 19.9938, 4.6238)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D20 #75208D
analogous
#6F8D20 #388D20 #208D3F
triadic
#388D20 #20388D #8D2038
tetradic
#388D20 #206F8D #75208D #8D3F20
square
#388D20 #206F8D #75208D #8D3F20
split-complementary
#388D20 #3F208D #8D206F
monochromatic
#102909 #245B15 #388D20 #4CBF2B #6ED750

Accessibility & contrast

On white

4.20
#388D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#388D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388D20
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388D20#FFFFFF#000000##000000
##388D201.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#2D8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388d20;
/* rgb */ color: rgb(56, 141, 32);
/* oklch */ color: oklch(57.0% 0.164 139.8);
Tailwind
colors: {
  custom: {
    50: '#79af64',
    500: '#388d20',
    950: '#000000',
  },
}
SCSS
$custom: #388d20;
$custom-light: #79af64;
$custom-dark: #000000;
JSON
{
  "hex": "#388d20",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 106.789,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.16415,
    "h": 139.8
  },
  "luminance": 0.19995
}

Semantic roles & 50–950 ramp

primary
#388D20
secondary
#A34EBA
accent
#42E6C2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388D20

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

Preview Lab → · Contrast checker → · Palette generator →

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