#397F4C#397F4C

#397F4C is a mid, moderate green. Relative luminance 0.166; OKLCH L 53.8% C 0.106 H 150.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#397F4C
RGBrgb(57, 127, 76)
HSLhsl(136, 38%, 36%)
HSVhsv(136, 55%, 50%)
CMYKcmyk(55.1%, 0%, 40.2%, 50.2%)
CIE-LABlab(47.71, -34.10, 21.22)
CIE-LCHlch(47.71, 40.16, 148.11°)
OKLaboklab(53.75% -0.0925 0.0528)
OKLCHoklch(53.75% 0.107 150.3)
XYZxyz(10.5805, 16.5695, 9.4767)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F4C #7F396C
analogous
#497F39 #397F4C #397F6F
triadic
#397F4C #4C397F #7F4C39
tetradic
#397F4C #39497F #7F396C #7F6F39
square
#397F4C #39497F #7F396C #7F6F39
split-complementary
#397F4C #6F397F #7F3949
monochromatic
#132B19 #265533 #397F4C #4CA965 #72C087

Accessibility & contrast

On white

4.87
#397F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#397F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F4C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F4C#FFFFFF#000000##FFFFFF
##397F4C1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807548
Deuteranopia (green-blind)
#766F4F
Tritanopia (blue-blind)
#297D72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397f4c;
/* rgb */ color: rgb(57, 127, 76);
/* oklch */ color: oklch(53.8% 0.106 150.3);
Tailwind
colors: {
  custom: {
    50: '#75a57e',
    500: '#397f4c',
    950: '#000000',
  },
}
SCSS
$custom: #397f4c;
$custom-light: #75a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#397f4c",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 76
  },
  "hsl": {
    "h": 136.286,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53751,
    "c": 0.1065,
    "h": 150.3
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#397F4C
secondary
#A96B98
accent
#5AAECE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #397F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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