#397F4B#397F4B

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

Color values

HEX#397F4B
RGBrgb(57, 127, 75)
HSLhsl(135, 38%, 36%)
HSVhsv(135, 55%, 50%)
CMYKcmyk(55.1%, 0%, 40.9%, 50.2%)
CIE-LABlab(47.70, -34.29, 21.76)
CIE-LCHlch(47.70, 40.61, 147.60°)
OKLaboklab(53.73% -0.093 0.0541)
OKLCHoklch(53.73% 0.108 149.8)
XYZxyz(10.5460, 16.5557, 9.2951)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F4B #7F396D
analogous
#4A7F39 #397F4B #397F6E
triadic
#397F4B #4B397F #7F4B39
tetradic
#397F4B #394A7F #7F396D #7F6E39
square
#397F4B #394A7F #7F396D #7F6E39
split-complementary
#397F4B #6E397F #7F394A
monochromatic
#132B19 #265532 #397F4B #4CA964 #72C086

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F4B#FFFFFF#000000##FFFFFF
##397F4B1.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)
#807547
Deuteranopia (green-blind)
#766F4E
Tritanopia (blue-blind)
#297D72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397f4b;
/* rgb */ color: rgb(57, 127, 75);
/* oklch */ color: oklch(53.7% 0.108 149.8);
Tailwind
colors: {
  custom: {
    50: '#75a57e',
    500: '#397f4b',
    950: '#000000',
  },
}
SCSS
$custom: #397f4b;
$custom-light: #75a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#397f4b",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 75
  },
  "hsl": {
    "h": 135.429,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.10754,
    "h": 149.8
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#397F4B
secondary
#A96B99
accent
#5AB0CE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #397F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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