#388222#388222

#388222 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.149 H 139.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#388222
RGBrgb(56, 130, 34)
HSLhsl(106, 59%, 32%)
HSVhsv(106, 74%, 51%)
CMYKcmyk(56.9%, 0%, 73.8%, 49%)
CIE-LABlab(48.16, -41.28, 42.74)
CIE-LCHlch(48.16, 59.42, 134.01°)
OKLaboklab(53.94% -0.1135 0.0969)
OKLCHoklch(53.94% 0.149 139.5)
XYZxyz(9.9018, 16.9207, 4.2573)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388222 #6C2282
analogous
#688222 #388222 #22823C
triadic
#388222 #223882 #822238
tetradic
#388222 #226882 #6C2282 #823C22
square
#388222 #226882 #6C2282 #823C22
split-complementary
#388222 #3C2282 #822268
monochromatic
#0E2109 #235115 #388222 #4DB32F #6CD14E

Accessibility & contrast

On white

4.79
#388222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#388222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388222
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388222#FFFFFF#000000##FFFFFF
##3882221.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#307E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388222;
/* rgb */ color: rgb(56, 130, 34);
/* oklch */ color: oklch(53.9% 0.149 139.5);
Tailwind
colors: {
  custom: {
    50: '#77a763',
    500: '#388222',
    950: '#000000',
  },
}
SCSS
$custom: #388222;
$custom-light: #77a763;
$custom-dark: #000000;
JSON
{
  "hex": "#388222",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 106.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.14922,
    "h": 139.5
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#388222
secondary
#9C4CB4
accent
#46E2BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #388222

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

Preview Lab → · Contrast checker → · Palette generator →

#388222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva