#38997F#38997F

#38997F is a mid, moderate teal. Relative luminance 0.252; OKLCH L 61.9% C 0.099 H 172.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#38997F
RGBrgb(56, 153, 127)
HSLhsl(164, 46%, 41%)
HSVhsv(164, 63%, 60%)
CMYKcmyk(63.4%, 0%, 17%, 40%)
CIE-LABlab(57.23, -34.74, 5.37)
CIE-LCHlch(57.23, 35.15, 171.22°)
OKLaboklab(61.88% -0.098 0.0136)
OKLCHoklch(61.88% 0.099 172.1)
XYZxyz(16.8510, 25.1538, 24.0417)
Luminance0.2516 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38997F #993852
analogous
#38994F #38997F #388299
triadic
#38997F #7F3899 #997F38
tetradic
#38997F #4F3899 #993852 #829938
square
#38997F #4F3899 #993852 #829938
split-complementary
#38997F #993882 #994F38
monochromatic
#173F35 #286C5A #38997F #4FBFA1 #7CCFB9

Accessibility & contrast

On white

3.48
#38997F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#38997F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38997F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38997F#FFFFFF#000000##000000
##38997F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7E
Deuteranopia (green-blind)
#868581
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #38997f;
/* rgb */ color: rgb(56, 153, 127);
/* oklch */ color: oklch(61.9% 0.099 172.1);
Tailwind
colors: {
  custom: {
    50: '#7ab7a4',
    500: '#38997f',
    950: '#000000',
  },
}
SCSS
$custom: #38997f;
$custom-light: #7ab7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38997f",
  "rgb": {
    "r": 56,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 163.918,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.09894,
    "h": 172.1
  },
  "luminance": 0.25156
}

Semantic roles & 50–950 ramp

primary
#38997F
secondary
#B87487
accent
#5275D6
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #38997F

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

Preview Lab → · Contrast checker → · Palette generator →

#38997F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva