#397F4F#397F4F

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

Color values

HEX#397F4F
RGBrgb(57, 127, 79)
HSLhsl(139, 38%, 36%)
HSVhsv(139, 55%, 50%)
CMYKcmyk(55.1%, 0%, 37.8%, 50.2%)
CIE-LABlab(47.77, -33.53, 19.59)
CIE-LCHlch(47.77, 38.83, 149.70°)
OKLaboklab(53.81% -0.091 0.049)
OKLCHoklch(53.81% 0.103 151.7)
XYZxyz(10.6872, 16.6122, 10.0389)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F4F #7F3969
analogous
#467F39 #397F4F #397F72
triadic
#397F4F #4F397F #7F4F39
tetradic
#397F4F #39467F #7F3969 #7F7239
square
#397F4F #39467F #7F3969 #7F7239
split-complementary
#397F4F #72397F #7F3946
monochromatic
#132B1A #265535 #397F4F #4CA969 #72C08B

Accessibility & contrast

On white

4.86
#397F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#397F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F4F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F4F#FFFFFF#000000##FFFFFF
##397F4F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754C
Deuteranopia (green-blind)
#766F52
Tritanopia (blue-blind)
#287D73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397f4f;
/* rgb */ color: rgb(57, 127, 79);
/* oklch */ color: oklch(53.8% 0.103 151.7);
Tailwind
colors: {
  custom: {
    50: '#75a580',
    500: '#397f4f',
    950: '#000000',
  },
}
SCSS
$custom: #397f4f;
$custom-light: #75a580;
$custom-dark: #000000;
JSON
{
  "hex": "#397f4f",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 79
  },
  "hsl": {
    "h": 138.857,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.10339,
    "h": 151.7
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#397F4F
secondary
#A96B95
accent
#5AA9CE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #397F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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