#227171#227171

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

Color values

HEX#227171
RGBrgb(34, 113, 113)
HSLhsl(180, 54%, 29%)
HSVhsv(180, 70%, 44%)
CMYKcmyk(69.9%, 0%, 0%, 55.7%)
CIE-LABlab(43.27, -23.09, -6.94)
CIE-LCHlch(43.27, 24.11, 196.73°)
OKLaboklab(50.23% -0.0717 -0.0193)
OKLCHoklch(50.23% 0.074 195.1)
XYZxyz(9.5441, 13.3415, 17.6918)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227171 #712222
analogous
#22714A #227171 #224A71
triadic
#227171 #712271 #717122
tetradic
#227171 #4A2271 #712222 #4A7122
square
#227171 #4A2271 #712222 #4A7122
split-complementary
#227171 #71224A #714A22
monochromatic
#071818 #144242 #227171 #30A0A0 #46C7C7

Accessibility & contrast

On white

5.72
#227171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#227171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227171
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227171#FFFFFF#000000##FFFFFF
##2271711.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696B71
Deuteranopia (green-blind)
#5D6272
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227171;
/* rgb */ color: rgb(34, 113, 113);
/* oklch */ color: oklch(50.2% 0.074 195.1);
Tailwind
colors: {
  custom: {
    50: '#6a9a99',
    500: '#227171',
    950: '#000000',
  },
}
SCSS
$custom: #227171;
$custom-light: #6a9a99;
$custom-dark: #000000;
JSON
{
  "hex": "#227171",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 113
  },
  "hsl": {
    "h": 180,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.07425,
    "h": 195.1
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#227171
secondary
#A44A4A
accent
#4B4BDD
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #227171

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

Preview Lab → · Contrast checker → · Palette generator →

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