#278172#278172

#278172 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.7% C 0.087 H 179.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#278172
RGBrgb(39, 129, 114)
HSLhsl(170, 54%, 33%)
HSVhsv(170, 70%, 51%)
CMYKcmyk(69.8%, 0%, 11.6%, 49.4%)
CIE-LABlab(48.69, -29.96, 0.47)
CIE-LCHlch(48.69, 29.96, 179.09°)
OKLaboklab(54.68% -0.0866 0.0008)
OKLCHoklch(54.68% 0.087 179.5)
XYZxyz(11.7228, 17.3454, 18.6465)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278172 #812736
analogous
#278145 #278172 #276381
triadic
#278172 #722781 #817227
tetradic
#278172 #452781 #812736 #638127
square
#278172 #452781 #812736 #638127
split-complementary
#278172 #812763 #814527
monochromatic
#0B231F #195248 #278172 #35B09C #56CCB8

Accessibility & contrast

On white

4.70
#278172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#278172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278172
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278172#FFFFFF#000000##FFFFFF
##2781721.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7971
Deuteranopia (green-blind)
#6F7073
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #278172;
/* rgb */ color: rgb(39, 129, 114);
/* oklch */ color: oklch(54.7% 0.087 179.5);
Tailwind
colors: {
  custom: {
    50: '#6ea69a',
    500: '#278172',
    950: '#000000',
  },
}
SCSS
$custom: #278172;
$custom-light: #6ea69a;
$custom-dark: #000000;
JSON
{
  "hex": "#278172",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 114
  },
  "hsl": {
    "h": 170,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54683,
    "c": 0.08656,
    "h": 179.5
  },
  "luminance": 0.17347
}

Semantic roles & 50–950 ramp

primary
#278172
secondary
#B15363
accent
#4B63DD
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #278172

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

Preview Lab → · Contrast checker → · Palette generator →

#278172 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva