#227A71#227A71

#227A71 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.6% C 0.082 H 185.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#227A71
RGBrgb(34, 122, 113)
HSLhsl(174, 56%, 31%)
HSVhsv(174, 72%, 48%)
CMYKcmyk(72.1%, 0%, 7.4%, 52.2%)
CIE-LABlab(46.24, -27.64, -2.54)
CIE-LCHlch(46.24, 27.75, 185.24°)
OKLaboklab(52.65% -0.0817 -0.0073)
OKLCHoklch(52.65% 0.082 185.1)
XYZxyz(10.5984, 15.4502, 18.0432)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A71 #7A222B
analogous
#227A45 #227A71 #22577A
triadic
#227A71 #71227A #7A7122
tetradic
#227A71 #45227A #7A222B #577A22
square
#227A71 #45227A #7A222B #577A22
split-complementary
#227A71 #7A2257 #7A4522
monochromatic
#071A18 #154A45 #227A71 #2FAA9D #4ACDBF

Accessibility & contrast

On white

5.13
#227A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#227A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A71
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A71#FFFFFF#000000##FFFFFF
##227A711.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747371
Deuteranopia (green-blind)
#676A72
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227a71;
/* rgb */ color: rgb(34, 122, 113);
/* oklch */ color: oklch(52.6% 0.082 185.1);
Tailwind
colors: {
  custom: {
    50: '#6ba199',
    500: '#227a71',
    950: '#000000',
  },
}
SCSS
$custom: #227a71;
$custom-light: #6ba199;
$custom-dark: #000000;
JSON
{
  "hex": "#227a71",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 113
  },
  "hsl": {
    "h": 173.864,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.082,
    "h": 185.1
  },
  "luminance": 0.15451
}

Semantic roles & 50–950 ramp

primary
#227A71
secondary
#AD4B55
accent
#4858E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #227A71

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

Preview Lab → · Contrast checker → · Palette generator →

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