#397961#397961

#397961 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.077 H 166.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#397961
RGBrgb(57, 121, 97)
HSLhsl(158, 36%, 35%)
HSVhsv(158, 53%, 47%)
CMYKcmyk(52.9%, 0%, 19.8%, 52.5%)
CIE-LABlab(46.19, -26.76, 6.96)
CIE-LCHlch(46.19, 27.65, 165.43°)
OKLaboklab(52.65% -0.0748 0.0179)
OKLCHoklch(52.65% 0.077 166.6)
XYZxyz(10.6814, 15.4068, 13.7179)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397961 #793951
analogous
#397941 #397961 #397179
triadic
#397961 #613979 #796139
tetradic
#397961 #413979 #793951 #717939
square
#397961 #413979 #793951 #717939
split-complementary
#397961 #793971 #794139
monochromatic
#12261E #254F40 #397961 #4DA382 #71BCA0

Accessibility & contrast

On white

5.15
#397961 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#397961 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397961
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397961#FFFFFF#000000##FFFFFF
##3979611.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777260
Deuteranopia (green-blind)
#6D6B63
Tritanopia (blue-blind)
#217972
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397961;
/* rgb */ color: rgb(57, 121, 97);
/* oklch */ color: oklch(52.7% 0.077 166.6);
Tailwind
colors: {
  custom: {
    50: '#74a08d',
    500: '#397961',
    950: '#000000',
  },
}
SCSS
$custom: #397961;
$custom-light: #74a08d;
$custom-dark: #000000;
JSON
{
  "hex": "#397961",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 97
  },
  "hsl": {
    "h": 157.5,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52653,
    "c": 0.07686,
    "h": 166.6
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#397961
secondary
#A5697F
accent
#5C86CC
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #397961

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

Preview Lab → · Contrast checker → · Palette generator →

#397961 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva