#397A2B#397A2B

#397A2B is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.9% C 0.131 H 140.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#397A2B
RGBrgb(57, 122, 43)
HSLhsl(109, 48%, 32%)
HSVhsv(109, 65%, 48%)
CMYKcmyk(53.3%, 0%, 64.8%, 52.2%)
CIE-LABlab(45.58, -36.85, 36.05)
CIE-LCHlch(45.58, 51.55, 135.63°)
OKLaboklab(51.85% -0.101 0.0839)
OKLCHoklch(51.85% 0.131 140.3)
XYZxyz(9.0825, 14.9627, 4.6945)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A2B #6C2B7A
analogous
#617A2B #397A2B #2B7A44
triadic
#397A2B #2B397A #7A2B39
tetradic
#397A2B #2B617A #6C2B7A #7A442B
square
#397A2B #2B617A #6C2B7A #7A442B
split-complementary
#397A2B #442B7A #7A2B61
monochromatic
#0F1F0B #244D1B #397A2B #4EA73B #6DC55A

Accessibility & contrast

On white

5.26
#397A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#397A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A2B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A2B#FFFFFF#000000##FFFFFF
##397A2B1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F22
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#327669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a2b;
/* rgb */ color: rgb(57, 122, 43);
/* oklch */ color: oklch(51.9% 0.131 140.3);
Tailwind
colors: {
  custom: {
    50: '#76a168',
    500: '#397a2b',
    950: '#000000',
  },
}
SCSS
$custom: #397a2b;
$custom-light: #76a168;
$custom-dark: #000000;
JSON
{
  "hex": "#397a2b",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 109.367,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.13128,
    "h": 140.3
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#397A2B
secondary
#9C56AB
accent
#50D7C0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397A2B

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

Preview Lab → · Contrast checker → · Palette generator →

#397A2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva