#397A4D#397A4D

#397A4D is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.4% C 0.098 H 151.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#397A4D
RGBrgb(57, 122, 77)
HSLhsl(138, 36%, 35%)
HSVhsv(138, 53%, 48%)
CMYKcmyk(53.3%, 0%, 36.9%, 52.2%)
CIE-LABlab(46.07, -31.63, 18.47)
CIE-LCHlch(46.07, 36.63, 149.72°)
OKLaboklab(52.42% -0.086 0.0463)
OKLCHoklch(52.42% 0.098 151.7)
XYZxyz(9.9857, 15.3239, 9.4513)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A4D #7A3966
analogous
#457A39 #397A4D #397A6E
triadic
#397A4D #4D397A #7A4D39
tetradic
#397A4D #39457A #7A3966 #7A6E39
square
#397A4D #39457A #7A3966 #7A6E39
split-complementary
#397A4D #6E397A #7A3945
monochromatic
#122718 #265033 #397A4D #4CA467 #71BD88

Accessibility & contrast

On white

5.17
#397A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#397A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A4D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A4D#FFFFFF#000000##FFFFFF
##397A4D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714A
Deuteranopia (green-blind)
#716B50
Tritanopia (blue-blind)
#2A786E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397a4d;
/* rgb */ color: rgb(57, 122, 77);
/* oklch */ color: oklch(52.4% 0.098 151.7);
Tailwind
colors: {
  custom: {
    50: '#74a17f',
    500: '#397a4d',
    950: '#000000',
  },
}
SCSS
$custom: #397a4d;
$custom-light: #74a17f;
$custom-dark: #000000;
JSON
{
  "hex": "#397a4d",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 77
  },
  "hsl": {
    "h": 138.462,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52417,
    "c": 0.09764,
    "h": 151.7
  },
  "luminance": 0.15325
}

Semantic roles & 50–950 ramp

primary
#397A4D
secondary
#A66993
accent
#5BAACC
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F0A
muted
#7B7E7C

Preview Lab

Preview with #397A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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