#397A4E#397A4E

#397A4E is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.4% C 0.097 H 152.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#397A4E
RGBrgb(57, 122, 78)
HSLhsl(139, 36%, 35%)
HSVhsv(139, 53%, 48%)
CMYKcmyk(53.3%, 0%, 36.1%, 52.2%)
CIE-LABlab(46.09, -31.44, 17.92)
CIE-LCHlch(46.09, 36.19, 150.31°)
OKLaboklab(52.44% -0.0855 0.045)
OKLCHoklch(52.44% 0.097 152.2)
XYZxyz(10.0213, 15.3382, 9.6387)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A4E #7A3965
analogous
#447A39 #397A4E #397A6F
triadic
#397A4E #4E397A #7A4E39
tetradic
#397A4E #39447A #7A3965 #7A6F39
square
#397A4E #39447A #7A3965 #7A6F39
split-complementary
#397A4E #6F397A #7A3944
monochromatic
#122719 #265033 #397A4E #4CA469 #71BD89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A4E#FFFFFF#000000##FFFFFF
##397A4E1.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)
#7A714B
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#2A786F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397a4e;
/* rgb */ color: rgb(57, 122, 78);
/* oklch */ color: oklch(52.4% 0.097 152.2);
Tailwind
colors: {
  custom: {
    50: '#74a180',
    500: '#397a4e',
    950: '#000000',
  },
}
SCSS
$custom: #397a4e;
$custom-light: #74a180;
$custom-dark: #000000;
JSON
{
  "hex": "#397a4e",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 139.385,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.09661,
    "h": 152.2
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#397A4E
secondary
#A66992
accent
#5BA8CC
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F0A
muted
#7B7E7C

Preview Lab

Preview with #397A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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