#388D22#388D22

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

Color values

HEX#388D22
RGBrgb(56, 141, 34)
HSLhsl(108, 61%, 34%)
HSVhsv(108, 76%, 55%)
CMYKcmyk(60.3%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.84, -45.53, 46.46)
CIE-LCHlch(51.84, 65.05, 134.42°)
OKLaboklab(56.98% -0.1249 0.1047)
OKLCHoklch(56.98% 0.163 140)
XYZxyz(11.4440, 20.0050, 4.7713)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D22 #77228D
analogous
#6E8D22 #388D22 #228D42
triadic
#388D22 #22388D #8D2238
tetradic
#388D22 #226E8D #77228D #8D4222
square
#388D22 #226E8D #77228D #8D4222
split-complementary
#388D22 #42228D #8D226E
monochromatic
#112A0A #245C16 #388D22 #4CBE2E #6ED654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #388d22;
/* rgb */ color: rgb(56, 141, 34);
/* oklch */ color: oklch(57.0% 0.163 140.0);
Tailwind
colors: {
  custom: {
    50: '#79af65',
    500: '#388d22',
    950: '#000000',
  },
}
SCSS
$custom: #388d22;
$custom-light: #79af65;
$custom-dark: #000000;
JSON
{
  "hex": "#388d22",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 107.664,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.16299,
    "h": 140
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#388D22
secondary
#A451B9
accent
#44E4C3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388D22

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

Preview Lab → · Contrast checker → · Palette generator →

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