#397962#397962

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

Color values

HEX#397962
RGBrgb(57, 121, 98)
HSLhsl(158, 36%, 35%)
HSVhsv(158, 53%, 47%)
CMYKcmyk(52.9%, 0%, 19%, 52.5%)
CIE-LABlab(46.21, -26.51, 6.40)
CIE-LCHlch(46.21, 27.28, 166.43°)
OKLaboklab(52.68% -0.0743 0.0164)
OKLCHoklch(52.68% 0.076 167.5)
XYZxyz(10.7283, 15.4255, 13.9650)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397962 #793950
analogous
#397942 #397962 #397079
triadic
#397962 #623979 #796239
tetradic
#397962 #423979 #793950 #707939
square
#397962 #423979 #793950 #707939
split-complementary
#397962 #793970 #794239
monochromatic
#12261F #254F40 #397962 #4DA384 #71BCA1

Accessibility & contrast

On white

5.14
#397962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#397962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397962
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397962#FFFFFF#000000##FFFFFF
##3979621.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397962;
/* rgb */ color: rgb(57, 121, 98);
/* oklch */ color: oklch(52.7% 0.076 167.5);
Tailwind
colors: {
  custom: {
    50: '#74a08e',
    500: '#397962',
    950: '#000000',
  },
}
SCSS
$custom: #397962;
$custom-light: #74a08e;
$custom-dark: #000000;
JSON
{
  "hex": "#397962",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 98
  },
  "hsl": {
    "h": 158.438,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.07605,
    "h": 167.5
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#397962
secondary
#A5697E
accent
#5C84CC
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #397962

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

Preview Lab → · Contrast checker → · Palette generator →

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