#227170#227170

#227170 is a mid, moderate teal. Relative luminance 0.133; OKLCH L 50.2% C 0.074 H 193.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#227170
RGBrgb(34, 113, 112)
HSLhsl(179, 54%, 29%)
HSVhsv(179, 70%, 44%)
CMYKcmyk(69.9%, 0%, 0.9%, 55.7%)
CIE-LABlab(43.24, -23.40, -6.39)
CIE-LCHlch(43.24, 24.26, 195.27°)
OKLaboklab(50.19% -0.0722 -0.0178)
OKLCHoklch(50.19% 0.074 193.8)
XYZxyz(9.4881, 13.3191, 17.3969)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227170 #712223
analogous
#227149 #227170 #224B71
triadic
#227170 #702271 #717022
tetradic
#227170 #492271 #712223 #4B7122
square
#227170 #492271 #712223 #4B7122
split-complementary
#227170 #71224B #714922
monochromatic
#071817 #144241 #227170 #30A09F #46C7C6

Accessibility & contrast

On white

5.73
#227170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#227170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227170
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227170#FFFFFF#000000##FFFFFF
##2271701.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6B70
Deuteranopia (green-blind)
#5E6271
Tritanopia (blue-blind)
#007570
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227170;
/* rgb */ color: rgb(34, 113, 112);
/* oklch */ color: oklch(50.2% 0.074 193.8);
Tailwind
colors: {
  custom: {
    50: '#6a9a99',
    500: '#227170',
    950: '#000000',
  },
}
SCSS
$custom: #227170;
$custom-light: #6a9a99;
$custom-dark: #000000;
JSON
{
  "hex": "#227170",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 112
  },
  "hsl": {
    "h": 179.241,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50194,
    "c": 0.07433,
    "h": 193.8
  },
  "luminance": 0.1332
}

Semantic roles & 50–950 ramp

primary
#227170
secondary
#A44A4C
accent
#4B4DDD
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #227170

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

Preview Lab → · Contrast checker → · Palette generator →

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