#388C22#388C22

#388C22 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.162 H 140.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#388C22
RGBrgb(56, 140, 34)
HSLhsl(108, 61%, 34%)
HSVhsv(108, 76%, 55%)
CMYKcmyk(60%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.51, -45.15, 46.13)
CIE-LCHlch(51.51, 64.55, 134.39°)
OKLaboklab(56.7% -0.1239 0.104)
OKLCHoklch(56.7% 0.162 140)
XYZxyz(11.2972, 19.7114, 4.7224)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C22 #76228C
analogous
#6D8C22 #388C22 #228C41
triadic
#388C22 #22388C #8C2238
tetradic
#388C22 #226D8C #76228C #8C4122
square
#388C22 #226D8C #76228C #8C4122
split-complementary
#388C22 #41228C #8C226D
monochromatic
#112A0A #245B16 #388C22 #4CBD2E #6ED553

Accessibility & contrast

On white

4.25
#388C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#388C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C22
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C22#FFFFFF#000000##000000
##388C221.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#2D8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c22;
/* rgb */ color: rgb(56, 140, 34);
/* oklch */ color: oklch(56.7% 0.162 140.0);
Tailwind
colors: {
  custom: {
    50: '#79ae65',
    500: '#388c22',
    950: '#000000',
  },
}
SCSS
$custom: #388c22;
$custom-light: #79ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#388c22",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 107.547,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.16176,
    "h": 140
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#388C22
secondary
#A351B9
accent
#44E4C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388C22

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

Preview Lab → · Contrast checker → · Palette generator →

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