#397F52#397F52

#397F52 is a mid, moderate green. Relative luminance 0.167; OKLCH L 53.9% C 0.100 H 153.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#397F52
RGBrgb(57, 127, 82)
HSLhsl(141, 38%, 36%)
HSVhsv(141, 55%, 50%)
CMYKcmyk(55.1%, 0%, 35.4%, 50.2%)
CIE-LABlab(47.82, -32.94, 17.96)
CIE-LCHlch(47.82, 37.52, 151.40°)
OKLaboklab(53.88% -0.0896 0.0452)
OKLCHoklch(53.88% 0.1 153.2)
XYZxyz(10.7989, 16.6569, 10.6270)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F52 #7F3966
analogous
#437F39 #397F52 #397F75
triadic
#397F52 #52397F #7F5239
tetradic
#397F52 #39437F #7F3966 #7F7539
square
#397F52 #39437F #7F3966 #7F7539
split-complementary
#397F52 #75397F #7F3943
monochromatic
#132B1B #265537 #397F52 #4CA96D #72C08E

Accessibility & contrast

On white

4.85
#397F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#397F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F52
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F52#FFFFFF#000000##FFFFFF
##397F521.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F764F
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#277D73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397f52;
/* rgb */ color: rgb(57, 127, 82);
/* oklch */ color: oklch(53.9% 0.100 153.2);
Tailwind
colors: {
  custom: {
    50: '#75a583',
    500: '#397f52',
    950: '#000000',
  },
}
SCSS
$custom: #397f52;
$custom-light: #75a583;
$custom-dark: #000000;
JSON
{
  "hex": "#397f52",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 141.429,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.1003,
    "h": 153.2
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#397F52
secondary
#A96B93
accent
#5AA4CE
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #397F52

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

Preview Lab → · Contrast checker → · Palette generator →

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