#388B20#388B20

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

Color values

HEX#388B20
RGBrgb(56, 139, 32)
HSLhsl(107, 63%, 34%)
HSVhsv(107, 77%, 55%)
CMYKcmyk(59.7%, 0%, 77%, 45.5%)
CIE-LABlab(51.16, -44.92, 46.51)
CIE-LCHlch(51.16, 64.67, 134.00°)
OKLaboklab(56.41% -0.1234 0.1045)
OKLCHoklch(56.41% 0.162 139.8)
XYZxyz(11.1237, 19.4093, 4.5264)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388B20 #73208B
analogous
#6D8B20 #388B20 #208B3D
triadic
#388B20 #20388B #8B2038
tetradic
#388B20 #206D8B #73208B #8B3D20
square
#388B20 #206D8B #73208B #8B3D20
split-complementary
#388B20 #3D208B #8B206D
monochromatic
#102809 #245915 #388B20 #4CBD2B #6DD64F

Accessibility & contrast

On white

4.30
#388B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##388B20#FFFFFF#000000##000000
##388B201.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#2E8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #388b20;
/* rgb */ color: rgb(56, 139, 32);
/* oklch */ color: oklch(56.4% 0.162 139.8);
Tailwind
colors: {
  custom: {
    50: '#79ae64',
    500: '#388b20',
    950: '#000000',
  },
}
SCSS
$custom: #388b20;
$custom-light: #79ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#388b20",
  "rgb": {
    "r": 56,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 106.542,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.16171,
    "h": 139.8
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#388B20
secondary
#A14DBA
accent
#42E6C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388B20

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

Preview Lab → · Contrast checker → · Palette generator →

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