#27998B#27998B

#27998B is a mid, moderate teal. Relative luminance 0.251; OKLCH L 61.8% C 0.100 H 182.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#27998B
RGBrgb(39, 153, 139)
HSLhsl(173, 59%, 38%)
HSVhsv(173, 75%, 60%)
CMYKcmyk(74.5%, 0%, 9.2%, 40%)
CIE-LABlab(57.15, -34.22, -1.62)
CIE-LCHlch(57.15, 34.26, 182.72°)
OKLaboklab(61.81% -0.1001 -0.0049)
OKLCHoklch(61.81% 0.1 182.8)
XYZxyz(16.8859, 25.0759, 28.3713)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27998B #992735
analogous
#279952 #27998B #276E99
triadic
#27998B #8B2799 #998B27
tetradic
#27998B #522799 #992735 #6E9927
square
#27998B #522799 #992735 #6E9927
split-complementary
#27998B #99276E #995227
monochromatic
#0E3732 #1B685F #27998B #33CAB7 #63D7C9

Accessibility & contrast

On white

3.49
#27998B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#27998B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27998B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27998B#FFFFFF#000000##000000
##27998B1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92908B
Deuteranopia (green-blind)
#82848C
Tritanopia (blue-blind)
#009C95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #27998b;
/* rgb */ color: rgb(39, 153, 139);
/* oklch */ color: oklch(61.8% 0.100 182.8);
Tailwind
colors: {
  custom: {
    50: '#74b7ac',
    500: '#27998b',
    950: '#000000',
  },
}
SCSS
$custom: #27998b;
$custom-light: #74b7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#27998b",
  "rgb": {
    "r": 39,
    "g": 153,
    "b": 139
  },
  "hsl": {
    "h": 172.632,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61812,
    "c": 0.1002,
    "h": 182.8
  },
  "luminance": 0.25078
}

Semantic roles & 50–950 ramp

primary
#27998B
secondary
#BD5F6A
accent
#4559E3
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #27998B

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

Preview Lab → · Contrast checker → · Palette generator →

#27998B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva