#388A20#388A20

#388A20 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.160 H 139.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#388A20
RGBrgb(56, 138, 32)
HSLhsl(106, 62%, 33%)
HSVhsv(106, 77%, 54%)
CMYKcmyk(59.4%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.83, -44.54, 46.18)
CIE-LCHlch(50.83, 64.16, 133.96°)
OKLaboklab(56.14% -0.1224 0.1038)
OKLCHoklch(56.14% 0.16 139.7)
XYZxyz(10.9796, 19.1210, 4.4784)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A20 #72208A
analogous
#6D8A20 #388A20 #208A3D
triadic
#388A20 #20388A #8A2038
tetradic
#388A20 #206D8A #72208A #8A3D20
square
#388A20 #206D8A #72208A #8A3D20
split-complementary
#388A20 #3D208A #8A206D
monochromatic
#102709 #245814 #388A20 #4CBC2C #6DD64E

Accessibility & contrast

On white

4.35
#388A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#388A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388A20
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388A20#FFFFFF#000000##000000
##388A201.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#2E8576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #388a20;
/* rgb */ color: rgb(56, 138, 32);
/* oklch */ color: oklch(56.1% 0.160 139.7);
Tailwind
colors: {
  custom: {
    50: '#79ad63',
    500: '#388a20',
    950: '#000000',
  },
}
SCSS
$custom: #388a20;
$custom-light: #79ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#388a20",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 106.415,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.16049,
    "h": 139.7
  },
  "luminance": 0.19122
}

Semantic roles & 50–950 ramp

primary
#388A20
secondary
#A14DB9
accent
#42E5C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388A20

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

Preview Lab → · Contrast checker → · Palette generator →

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