#397B4F#397B4F

#397B4F is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.7% C 0.097 H 152.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#397B4F
RGBrgb(57, 123, 79)
HSLhsl(140, 37%, 35%)
HSVhsv(140, 54%, 48%)
CMYKcmyk(53.7%, 0%, 35.8%, 51.8%)
CIE-LABlab(46.44, -31.70, 17.82)
CIE-LCHlch(46.44, 36.37, 150.66°)
OKLaboklab(52.73% -0.0862 0.0448)
OKLCHoklch(52.73% 0.097 152.6)
XYZxyz(10.1809, 15.5994, 9.8701)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B4F #7B3965
analogous
#447B39 #397B4F #397B70
triadic
#397B4F #4F397B #7B4F39
tetradic
#397B4F #39447B #7B3965 #7B7039
square
#397B4F #39447B #7B3965 #7B7039
split-complementary
#397B4F #70397B #7B3944
monochromatic
#122719 #265134 #397B4F #4CA56A #71BD8B

Accessibility & contrast

On white

5.10
#397B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#397B4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B4F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B4F#FFFFFF#000000##FFFFFF
##397B4F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724C
Deuteranopia (green-blind)
#726B52
Tritanopia (blue-blind)
#297970
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397b4f;
/* rgb */ color: rgb(57, 123, 79);
/* oklch */ color: oklch(52.7% 0.097 152.6);
Tailwind
colors: {
  custom: {
    50: '#75a280',
    500: '#397b4f',
    950: '#000000',
  },
}
SCSS
$custom: #397b4f;
$custom-light: #75a280;
$custom-dark: #000000;
JSON
{
  "hex": "#397b4f",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 79
  },
  "hsl": {
    "h": 140,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.09714,
    "h": 152.6
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#397B4F
secondary
#A66992
accent
#5BA7CD
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #397B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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