#27796C#27796C

#27796C is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.3% C 0.081 H 180.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#27796C
RGBrgb(39, 121, 108)
HSLhsl(170, 51%, 31%)
HSVhsv(170, 68%, 47%)
CMYKcmyk(67.8%, 0%, 10.7%, 52.5%)
CIE-LABlab(45.89, -27.78, -0.07)
CIE-LCHlch(45.89, 27.78, 180.14°)
OKLaboklab(52.34% -0.0806 -0.0006)
OKLCHoklch(52.34% 0.081 180.5)
XYZxyz(10.3796, 15.1876, 16.5689)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27796C #792734
analogous
#277943 #27796C #275D79
triadic
#27796C #6C2779 #796C27
tetradic
#27796C #432779 #792734 #5D7927
square
#27796C #432779 #792734 #5D7927
split-complementary
#27796C #79275D #794327
monochromatic
#091C19 #184B43 #27796C #36A795 #53C8B5

Accessibility & contrast

On white

5.20
#27796C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#27796C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27796C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27796C#FFFFFF#000000##FFFFFF
##27796C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726B
Deuteranopia (green-blind)
#68696D
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #27796c;
/* rgb */ color: rgb(39, 121, 108);
/* oklch */ color: oklch(52.3% 0.081 180.5);
Tailwind
colors: {
  custom: {
    50: '#6da096',
    500: '#27796c',
    950: '#000000',
  },
}
SCSS
$custom: #27796c;
$custom-light: #6da096;
$custom-dark: #000000;
JSON
{
  "hex": "#27796c",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 170.488,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52344,
    "c": 0.0806,
    "h": 180.5
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#27796C
secondary
#AB515F
accent
#4D64DB
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #27796C

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

Preview Lab → · Contrast checker → · Palette generator →

#27796C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva