#388B21#388B21

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

Color values

HEX#388B21
RGBrgb(56, 139, 33)
HSLhsl(107, 62%, 34%)
HSVhsv(107, 76%, 55%)
CMYKcmyk(59.7%, 0%, 76.3%, 45.5%)
CIE-LABlab(51.17, -44.85, 46.16)
CIE-LCHlch(51.17, 64.36, 134.18°)
OKLaboklab(56.42% -0.1232 0.1039)
OKLCHoklch(56.42% 0.161 139.9)
XYZxyz(11.1375, 19.4148, 4.5991)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388B21 #74218B
analogous
#6D8B21 #388B21 #218B3F
triadic
#388B21 #21388B #8B2138
tetradic
#388B21 #216D8B #74218B #8B3F21
square
#388B21 #216D8B #74218B #8B3F21
split-complementary
#388B21 #3F218B #8B216D
monochromatic
#10280A #245A15 #388B21 #4CBC2D #6ED651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388B21#FFFFFF#000000##000000
##388B211.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)
#8F7E0B
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#2E8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #388b21;
/* rgb */ color: rgb(56, 139, 33);
/* oklch */ color: oklch(56.4% 0.161 139.9);
Tailwind
colors: {
  custom: {
    50: '#79ae64',
    500: '#388b21',
    950: '#000000',
  },
}
SCSS
$custom: #388b21;
$custom-light: #79ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#388b21",
  "rgb": {
    "r": 56,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 106.981,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.16113,
    "h": 139.9
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#388B21
secondary
#A24FB9
accent
#43E5C2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388B21

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

Preview Lab → · Contrast checker → · Palette generator →

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