#38786F#38786F

#38786F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.067 H 183.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#38786F
RGBrgb(56, 120, 111)
HSLhsl(172, 36%, 35%)
HSVhsv(172, 53%, 47%)
CMYKcmyk(53.3%, 0%, 7.5%, 52.9%)
CIE-LABlab(46.20, -22.88, -1.33)
CIE-LCHlch(46.20, 22.92, 183.32°)
OKLaboklab(52.78% -0.0674 -0.0039)
OKLCHoklch(52.78% 0.067 183.3)
XYZxyz(11.2154, 15.4204, 17.4212)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38786F #783841
analogous
#38784F #38786F #386178
triadic
#38786F #6F3878 #786F38
tetradic
#38786F #4F3878 #783841 #617838
square
#38786F #4F3878 #783841 #617838
split-complementary
#38786F #783861 #784F38
monochromatic
#112522 #254E48 #38786F #4BA296 #6FBCB1

Accessibility & contrast

On white

5.14
#38786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#38786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38786F#FFFFFF#000000##FFFFFF
##38786F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#696A70
Tritanopia (blue-blind)
#147A75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #38786f;
/* rgb */ color: rgb(56, 120, 111);
/* oklch */ color: oklch(52.8% 0.067 183.3);
Tailwind
colors: {
  custom: {
    50: '#749f98',
    500: '#38786f',
    950: '#000000',
  },
}
SCSS
$custom: #38786f;
$custom-light: #749f98;
$custom-dark: #000000;
JSON
{
  "hex": "#38786f",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 171.563,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52784,
    "c": 0.06749,
    "h": 183.3
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#38786F
secondary
#A56770
accent
#5B6BCC
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0D
muted
#7B7E7E

Preview Lab

Preview with #38786F

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

Preview Lab → · Contrast checker → · Palette generator →

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