#387221#387221

#387221 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.5% C 0.129 H 138.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#387221
RGBrgb(56, 114, 33)
HSLhsl(103, 55%, 29%)
HSVhsv(103, 71%, 45%)
CMYKcmyk(50.9%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.74, -34.78, 37.52)
CIE-LCHlch(42.74, 51.16, 132.83°)
OKLaboklab(49.48% -0.096 0.0858)
OKLCHoklch(49.48% 0.129 138.2)
XYZxyz(7.9224, 12.9846, 3.5274)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387221 #5B2172
analogous
#617221 #387221 #217233
triadic
#387221 #213872 #722138
tetradic
#387221 #216172 #5B2172 #723321
square
#387221 #216172 #5B2172 #723321
split-complementary
#387221 #332172 #722161
monochromatic
#0C1807 #214313 #387221 #4FA12F #6AC944

Accessibility & contrast

On white

5.84
#387221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#387221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387221
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387221#FFFFFF#000000##FFFFFF
##3872211.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766815
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#346E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387221;
/* rgb */ color: rgb(56, 114, 33);
/* oklch */ color: oklch(49.5% 0.129 138.2);
Tailwind
colors: {
  custom: {
    50: '#749b61',
    500: '#387221',
    950: '#000000',
  },
}
SCSS
$custom: #387221;
$custom-light: #749b61;
$custom-dark: #000000;
JSON
{
  "hex": "#387221",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 102.963,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49475,
    "c": 0.12873,
    "h": 138.2
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#387221
secondary
#8B49A5
accent
#49DEB4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #387221

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

Preview Lab → · Contrast checker → · Palette generator →

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