#388E21#388E21

#388E21 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.165 H 140.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#388E21
RGBrgb(56, 142, 33)
HSLhsl(107, 62%, 34%)
HSVhsv(107, 77%, 56%)
CMYKcmyk(60.6%, 0%, 76.8%, 44.3%)
CIE-LABlab(52.17, -45.98, 47.15)
CIE-LCHlch(52.17, 65.86, 134.28°)
OKLaboklab(57.25% -0.1262 0.106)
OKLCHoklch(57.25% 0.165 140)
XYZxyz(11.5779, 20.2955, 4.7458)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388E21 #77218E
analogous
#6F8E21 #388E21 #218E40
triadic
#388E21 #21388E #8E2138
tetradic
#388E21 #216F8E #77218E #8E4021
square
#388E21 #216F8E #77218E #8E4021
split-complementary
#388E21 #40218E #8E216F
monochromatic
#112B0A #245C15 #388E21 #4CC02D #6ED752

Accessibility & contrast

On white

4.15
#388E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#388E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388E21
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388E21#FFFFFF#000000##000000
##388E211.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#877A2D
Tritanopia (blue-blind)
#2D8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388e21;
/* rgb */ color: rgb(56, 142, 33);
/* oklch */ color: oklch(57.2% 0.165 140.0);
Tailwind
colors: {
  custom: {
    50: '#79b064',
    500: '#388e21',
    950: '#000000',
  },
}
SCSS
$custom: #388e21;
$custom-light: #79b064;
$custom-dark: #000000;
JSON
{
  "hex": "#388e21",
  "rgb": {
    "r": 56,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 107.339,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57248,
    "c": 0.16479,
    "h": 140
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#388E21
secondary
#A450BA
accent
#42E5C3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388E21

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

Preview Lab → · Contrast checker → · Palette generator →

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