#38795D#38795D

#38795D is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.081 H 163.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#38795D
RGBrgb(56, 121, 93)
HSLhsl(154, 37%, 35%)
HSVhsv(154, 54%, 47%)
CMYKcmyk(53.7%, 0%, 23.1%, 52.5%)
CIE-LABlab(46.05, -27.97, 9.11)
CIE-LCHlch(46.05, 29.42, 161.95°)
OKLaboklab(52.5% -0.0775 0.0234)
OKLCHoklch(52.5% 0.081 163.2)
XYZxyz(10.4431, 15.3049, 12.7576)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38795D #793854
analogous
#38793D #38795D #387579
triadic
#38795D #5D3879 #795D38
tetradic
#38795D #3D3879 #793854 #757938
square
#38795D #3D3879 #793854 #757938
split-complementary
#38795D #793875 #793D38
monochromatic
#11251D #254F3D #38795D #4BA37D #6FBC9B

Accessibility & contrast

On white

5.17
#38795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#38795D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38795D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38795D#FFFFFF#000000##FFFFFF
##38795D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715B
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#217971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #38795d;
/* rgb */ color: rgb(56, 121, 93);
/* oklch */ color: oklch(52.5% 0.081 163.2);
Tailwind
colors: {
  custom: {
    50: '#74a08b',
    500: '#38795d',
    950: '#000000',
  },
}
SCSS
$custom: #38795d;
$custom-light: #74a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#38795d",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 154.154,
    "s": 36.723,
    "l": 34.706
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.08093,
    "h": 163.2
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#38795D
secondary
#A56782
accent
#5B8CCD
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #38795D

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

Preview Lab → · Contrast checker → · Palette generator →

#38795D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva