#397A2F#397A2F

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

Color values

HEX#397A2F
RGBrgb(57, 122, 47)
HSLhsl(112, 44%, 33%)
HSVhsv(112, 61%, 48%)
CMYKcmyk(53.3%, 0%, 61.5%, 52.2%)
CIE-LABlab(45.63, -36.39, 34.16)
CIE-LCHlch(45.63, 49.91, 136.81°)
OKLaboklab(51.9% -0.0995 0.0803)
OKLCHoklch(51.9% 0.128 141.1)
XYZxyz(9.1596, 14.9935, 5.1001)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A2F #702F7A
analogous
#5E7A2F #397A2F #2F7A4A
triadic
#397A2F #2F397A #7A2F39
tetradic
#397A2F #2F5E7A #702F7A #7A4A2F
square
#397A2F #2F5E7A #702F7A #7A4A2F
split-complementary
#397A2F #4A2F7A #7A2F5E
monochromatic
#10220D #244E1E #397A2F #4EA640 #6EC261

Accessibility & contrast

On white

5.25
#397A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#397A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A2F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A2F#FFFFFF#000000##FFFFFF
##397A2F1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7027
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#32766A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a2f;
/* rgb */ color: rgb(57, 122, 47);
/* oklch */ color: oklch(51.9% 0.128 141.1);
Tailwind
colors: {
  custom: {
    50: '#76a16a',
    500: '#397a2f',
    950: '#000000',
  },
}
SCSS
$custom: #397a2f;
$custom-light: #76a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#397a2f",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 112,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.12782,
    "h": 141.1
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#397A2F
secondary
#9F5CA9
accent
#54D4C3
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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