#397A4C#397A4C

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

Color values

HEX#397A4C
RGBrgb(57, 122, 76)
HSLhsl(138, 36%, 35%)
HSVhsv(138, 53%, 48%)
CMYKcmyk(53.3%, 0%, 37.7%, 52.2%)
CIE-LABlab(46.06, -31.83, 19.02)
CIE-LCHlch(46.06, 37.08, 149.14°)
OKLaboklab(52.4% -0.0865 0.0476)
OKLCHoklch(52.4% 0.099 151.2)
XYZxyz(9.9507, 15.3099, 9.2668)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A4C #7A3967
analogous
#477A39 #397A4C #397A6C
triadic
#397A4C #4C397A #7A4C39
tetradic
#397A4C #39477A #7A3967 #7A6C39
square
#397A4C #39477A #7A3967 #7A6C39
split-complementary
#397A4C #6C397A #7A3947
monochromatic
#122718 #265032 #397A4C #4CA466 #71BD87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A4C#FFFFFF#000000##FFFFFF
##397A4C1.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)
#7A7149
Deuteranopia (green-blind)
#716B4F
Tritanopia (blue-blind)
#2A786E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397a4c;
/* rgb */ color: rgb(57, 122, 76);
/* oklch */ color: oklch(52.4% 0.099 151.2);
Tailwind
colors: {
  custom: {
    50: '#74a17e',
    500: '#397a4c',
    950: '#000000',
  },
}
SCSS
$custom: #397a4c;
$custom-light: #74a17e;
$custom-dark: #000000;
JSON
{
  "hex": "#397a4c",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 137.538,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.09869,
    "h": 151.2
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#397A4C
secondary
#A66994
accent
#5BABCC
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F0A
muted
#7B7E7C

Preview Lab

Preview with #397A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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