#397F4A#397F4A

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

Color values

HEX#397F4A
RGBrgb(57, 127, 74)
HSLhsl(135, 38%, 36%)
HSVhsv(135, 55%, 50%)
CMYKcmyk(55.1%, 0%, 41.7%, 50.2%)
CIE-LABlab(47.68, -34.47, 22.29)
CIE-LCHlch(47.68, 41.05, 147.11°)
OKLaboklab(53.71% -0.0934 0.0553)
OKLCHoklch(53.71% 0.109 149.4)
XYZxyz(10.5120, 16.5421, 9.1162)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F4A #7F396E
analogous
#4B7F39 #397F4A #397F6D
triadic
#397F4A #4A397F #7F4A39
tetradic
#397F4A #394B7F #7F396E #7F6D39
square
#397F4A #394B7F #7F396E #7F6D39
split-complementary
#397F4A #6D397F #7F394B
monochromatic
#132B19 #265531 #397F4A #4CA963 #72C085

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F4A#FFFFFF#000000##FFFFFF
##397F4A1.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)
#807546
Deuteranopia (green-blind)
#766E4D
Tritanopia (blue-blind)
#2A7D72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397f4a;
/* rgb */ color: rgb(57, 127, 74);
/* oklch */ color: oklch(53.7% 0.109 149.4);
Tailwind
colors: {
  custom: {
    50: '#75a57d',
    500: '#397f4a',
    950: '#000000',
  },
}
SCSS
$custom: #397f4a;
$custom-light: #75a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#397f4a",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 74
  },
  "hsl": {
    "h": 134.571,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.10858,
    "h": 149.4
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#397F4A
secondary
#A96B9A
accent
#5AB2CE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #397F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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