#397221#397221

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

Color values

HEX#397221
RGBrgb(57, 114, 33)
HSLhsl(102, 55%, 29%)
HSVhsv(102, 71%, 45%)
CMYKcmyk(50%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.78, -34.45, 37.58)
CIE-LCHlch(42.78, 50.98, 132.51°)
OKLaboklab(49.52% -0.0951 0.0859)
OKLCHoklch(49.52% 0.128 137.9)
XYZxyz(7.9789, 13.0137, 3.5300)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397221 #5A2172
analogous
#627221 #397221 #217232
triadic
#397221 #213972 #722139
tetradic
#397221 #216272 #5A2172 #723221
square
#397221 #216272 #5A2172 #723221
split-complementary
#397221 #322172 #722162
monochromatic
#0C1807 #214313 #397221 #51A12F #6CC944

Accessibility & contrast

On white

5.83
#397221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397221
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397221#FFFFFF#000000##FFFFFF
##3972211.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397221;
/* rgb */ color: rgb(57, 114, 33);
/* oklch */ color: oklch(49.5% 0.128 137.9);
Tailwind
colors: {
  custom: {
    50: '#759b61',
    500: '#397221',
    950: '#000000',
  },
}
SCSS
$custom: #397221;
$custom-light: #759b61;
$custom-dark: #000000;
JSON
{
  "hex": "#397221",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 102.222,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.12819,
    "h": 137.9
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#397221
secondary
#8A49A5
accent
#49DEB2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #397221

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

Preview Lab → · Contrast checker → · Palette generator →

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