#388221#388221

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

Color values

HEX#388221
RGBrgb(56, 130, 33)
HSLhsl(106, 60%, 32%)
HSVhsv(106, 75%, 51%)
CMYKcmyk(56.9%, 0%, 74.6%, 49%)
CIE-LABlab(48.15, -41.37, 43.13)
CIE-LCHlch(48.15, 59.76, 133.81°)
OKLaboklab(53.93% -0.1138 0.0976)
OKLCHoklch(53.93% 0.15 139.4)
XYZxyz(9.8876, 16.9150, 4.1824)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388221 #6B2182
analogous
#698221 #388221 #21823B
triadic
#388221 #213882 #822138
tetradic
#388221 #216982 #6B2182 #823B21
square
#388221 #216982 #6B2182 #823B21
split-complementary
#388221 #3B2182 #822169
monochromatic
#0E2008 #235115 #388221 #4DB32D #6CD24C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388221#FFFFFF#000000##FFFFFF
##3882211.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)
#867610
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#307E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388221;
/* rgb */ color: rgb(56, 130, 33);
/* oklch */ color: oklch(53.9% 0.150 139.4);
Tailwind
colors: {
  custom: {
    50: '#77a763',
    500: '#388221',
    950: '#000000',
  },
}
SCSS
$custom: #388221;
$custom-light: #77a763;
$custom-dark: #000000;
JSON
{
  "hex": "#388221",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 105.773,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53932,
    "c": 0.14987,
    "h": 139.4
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#388221
secondary
#9B4AB4
accent
#45E3BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #388221

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

Preview Lab → · Contrast checker → · Palette generator →

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