#397222#397222

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

Color values

HEX#397222
RGBrgb(57, 114, 34)
HSLhsl(103, 54%, 29%)
HSVhsv(103, 70%, 45%)
CMYKcmyk(50%, 0%, 70.2%, 55.3%)
CIE-LABlab(42.79, -34.36, 37.15)
CIE-LCHlch(42.79, 50.60, 132.77°)
OKLaboklab(49.53% -0.0948 0.0852)
OKLCHoklch(49.53% 0.127 138.1)
XYZxyz(7.9931, 13.0194, 3.6049)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397222 #5B2272
analogous
#617222 #397222 #227233
triadic
#397222 #223972 #722239
tetradic
#397222 #226172 #5B2272 #723322
square
#397222 #226172 #5B2272 #723322
split-complementary
#397222 #332272 #722261
monochromatic
#0C1807 #214314 #397222 #51A130 #6CC846

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397222#FFFFFF#000000##FFFFFF
##3972221.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)
#766817
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#356E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397222;
/* rgb */ color: rgb(57, 114, 34);
/* oklch */ color: oklch(49.5% 0.127 138.1);
Tailwind
colors: {
  custom: {
    50: '#759b62',
    500: '#397222',
    950: '#000000',
  },
}
SCSS
$custom: #397222;
$custom-light: #759b62;
$custom-dark: #000000;
JSON
{
  "hex": "#397222",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 102.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49533,
    "c": 0.12744,
    "h": 138.1
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#397222
secondary
#8B4BA5
accent
#4ADDB3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #397222

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

Preview Lab → · Contrast checker → · Palette generator →

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