#397A4F#397A4F

#397A4F is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.5% C 0.096 H 152.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#397A4F
RGBrgb(57, 122, 79)
HSLhsl(140, 36%, 35%)
HSVhsv(140, 53%, 48%)
CMYKcmyk(53.3%, 0%, 35.2%, 52.2%)
CIE-LABlab(46.11, -31.24, 17.37)
CIE-LCHlch(46.11, 35.74, 150.92°)
OKLaboklab(52.46% -0.085 0.0437)
OKLCHoklch(52.46% 0.096 152.8)
XYZxyz(10.0574, 15.3526, 9.8290)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A4F #7A3964
analogous
#437A39 #397A4F #397A70
triadic
#397A4F #4F397A #7A4F39
tetradic
#397A4F #39437A #7A3964 #7A7039
square
#397A4F #39437A #7A3964 #7A7039
split-complementary
#397A4F #70397A #7A3943
monochromatic
#122719 #265034 #397A4F #4CA46A #71BD8A

Accessibility & contrast

On white

5.16
#397A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#397A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A4F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A4F#FFFFFF#000000##FFFFFF
##397A4F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714C
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#29786F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397a4f;
/* rgb */ color: rgb(57, 122, 79);
/* oklch */ color: oklch(52.5% 0.096 152.8);
Tailwind
colors: {
  custom: {
    50: '#74a180',
    500: '#397a4f',
    950: '#000000',
  },
}
SCSS
$custom: #397a4f;
$custom-light: #74a180;
$custom-dark: #000000;
JSON
{
  "hex": "#397a4f",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 79
  },
  "hsl": {
    "h": 140.308,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.09556,
    "h": 152.8
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

primary
#397A4F
secondary
#A66991
accent
#5BA6CC
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F0A
muted
#7B7E7C

Preview Lab

Preview with #397A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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