#27795F#27795F

#27795F is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.9% C 0.089 H 168.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#27795F
RGBrgb(39, 121, 95)
HSLhsl(161, 51%, 31%)
HSVhsv(161, 68%, 47%)
CMYKcmyk(67.8%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.54, -31.29, 7.14)
CIE-LCHlch(45.54, 32.09, 167.15°)
OKLaboklab(51.94% -0.0871 0.0183)
OKLCHoklch(51.94% 0.089 168.2)
XYZxyz(9.7386, 14.9313, 13.1930)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27795F #792741
analogous
#277936 #27795F #276A79
triadic
#27795F #5F2779 #795F27
tetradic
#27795F #362779 #792741 #6A7927
square
#27795F #362779 #792741 #6A7927
split-complementary
#27795F #79276A #793627
monochromatic
#091C16 #184B3B #27795F #36A783 #53C8A3

Accessibility & contrast

On white

5.27
#27795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#27795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27795F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27795F#FFFFFF#000000##FFFFFF
##27795F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6B6861
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #27795f;
/* rgb */ color: rgb(39, 121, 95);
/* oklch */ color: oklch(51.9% 0.089 168.2);
Tailwind
colors: {
  custom: {
    50: '#6ca08c',
    500: '#27795f',
    950: '#000000',
  },
}
SCSS
$custom: #27795f;
$custom-light: #6ca08c;
$custom-dark: #000000;
JSON
{
  "hex": "#27795f",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 160.976,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.08904,
    "h": 168.2
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#27795F
secondary
#AB516D
accent
#4D7ADB
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #27795F

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

Preview Lab → · Contrast checker → · Palette generator →

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