#227F71#227F71

#227F71 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.0% C 0.087 H 180.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#227F71
RGBrgb(34, 127, 113)
HSLhsl(171, 58%, 32%)
HSVhsv(171, 73%, 50%)
CMYKcmyk(73.2%, 0%, 11%, 50.2%)
CIE-LABlab(47.89, -30.06, -0.12)
CIE-LCHlch(47.89, 30.06, 180.23°)
OKLaboklab(53.99% -0.0871 -0.0008)
OKLCHoklch(53.99% 0.087 180.5)
XYZxyz(11.2282, 16.7098, 18.2531)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F71 #7F2230
analogous
#227F43 #227F71 #225F7F
triadic
#227F71 #71227F #7F7122
tetradic
#227F71 #43227F #7F2230 #5F7F22
square
#227F71 #43227F #7F2230 #5F7F22
split-complementary
#227F71 #7F225F #7F4322
monochromatic
#081E1B #154F46 #227F71 #2FAF9C #4CCFBB

Accessibility & contrast

On white

4.84
#227F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#227F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F71
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F71#FFFFFF#000000##FFFFFF
##227F711.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797770
Deuteranopia (green-blind)
#6C6E72
Tritanopia (blue-blind)
#00817B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227f71;
/* rgb */ color: rgb(34, 127, 113);
/* oklch */ color: oklch(54.0% 0.087 180.5);
Tailwind
colors: {
  custom: {
    50: '#6ca499',
    500: '#227f71',
    950: '#000000',
  },
}
SCSS
$custom: #227f71;
$custom-light: #6ca499;
$custom-dark: #000000;
JSON
{
  "hex": "#227f71",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 113
  },
  "hsl": {
    "h": 170.968,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.08714,
    "h": 180.5
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#227F71
secondary
#B24B5B
accent
#475EE1
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #227F71

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

Preview Lab → · Contrast checker → · Palette generator →

#227F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva