#388E22#388E22

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

Color values

HEX#388E22
RGBrgb(56, 142, 34)
HSLhsl(108, 61%, 35%)
HSVhsv(108, 76%, 56%)
CMYKcmyk(60.6%, 0%, 76.1%, 44.3%)
CIE-LABlab(52.18, -45.90, 46.79)
CIE-LCHlch(52.18, 65.55, 134.45°)
OKLaboklab(57.26% -0.126 0.1054)
OKLCHoklch(57.26% 0.164 140.1)
XYZxyz(11.5921, 20.3012, 4.8207)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388E22 #78228E
analogous
#6E8E22 #388E22 #228E42
triadic
#388E22 #22388E #8E2238
tetradic
#388E22 #226E8E #78228E #8E4222
square
#388E22 #226E8E #78228E #8E4222
split-complementary
#388E22 #42228E #8E226E
monochromatic
#112B0A #255D16 #388E22 #4BBF2E #6FD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388E22#FFFFFF#000000##000000
##388E221.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)
#92810C
Deuteranopia (green-blind)
#877A2D
Tritanopia (blue-blind)
#2D8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388e22;
/* rgb */ color: rgb(56, 142, 34);
/* oklch */ color: oklch(57.3% 0.164 140.1);
Tailwind
colors: {
  custom: {
    50: '#79b065',
    500: '#388e22',
    950: '#000000',
  },
}
SCSS
$custom: #388e22;
$custom-light: #79b065;
$custom-dark: #000000;
JSON
{
  "hex": "#388e22",
  "rgb": {
    "r": 56,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 107.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.16421,
    "h": 140.1
  },
  "luminance": 0.20302
}

Semantic roles & 50–950 ramp

primary
#388E22
secondary
#A552BA
accent
#43E4C4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388E22

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

Preview Lab → · Contrast checker → · Palette generator →

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