#388D21#388D21

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

Color values

HEX#388D21
RGBrgb(56, 141, 33)
HSLhsl(107, 62%, 34%)
HSVhsv(107, 77%, 55%)
CMYKcmyk(60.3%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.84, -45.60, 46.82)
CIE-LCHlch(51.84, 65.36, 134.25°)
OKLaboklab(56.97% -0.1252 0.1053)
OKLCHoklch(56.97% 0.164 139.9)
XYZxyz(11.4298, 19.9993, 4.6965)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D21 #76218D
analogous
#6E8D21 #388D21 #218D40
triadic
#388D21 #21388D #8D2138
tetradic
#388D21 #216E8D #76218D #8D4021
square
#388D21 #216E8D #76218D #8D4021
split-complementary
#388D21 #40218D #8D216E
monochromatic
#112A0A #245B15 #388D21 #4CBF2D #6ED652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388D21#FFFFFF#000000##000000
##388D211.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)
#91800A
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#2D8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388d21;
/* rgb */ color: rgb(56, 141, 33);
/* oklch */ color: oklch(57.0% 0.164 139.9);
Tailwind
colors: {
  custom: {
    50: '#79af64',
    500: '#388d21',
    950: '#000000',
  },
}
SCSS
$custom: #388d21;
$custom-light: #79af64;
$custom-dark: #000000;
JSON
{
  "hex": "#388d21",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 107.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56972,
    "c": 0.16358,
    "h": 139.9
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#388D21
secondary
#A350BA
accent
#43E5C3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388D21

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

Preview Lab → · Contrast checker → · Palette generator →

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