#227B71#227B71

#227B71 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.9% C 0.083 H 184.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#227B71
RGBrgb(34, 123, 113)
HSLhsl(173, 57%, 31%)
HSVhsv(173, 72%, 48%)
CMYKcmyk(72.4%, 0%, 8.1%, 51.8%)
CIE-LABlab(46.57, -28.13, -2.05)
CIE-LCHlch(46.57, 28.20, 184.17°)
OKLaboklab(52.91% -0.0828 -0.006)
OKLCHoklch(52.91% 0.083 184.1)
XYZxyz(10.7219, 15.6970, 18.0843)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B71 #7B222C
analogous
#227B44 #227B71 #22587B
triadic
#227B71 #71227B #7B7122
tetradic
#227B71 #44227B #7B222C #587B22
square
#227B71 #44227B #7B222C #587B22
split-complementary
#227B71 #7B2258 #7B4422
monochromatic
#071B19 #154B45 #227B71 #2FAB9D #4ACDBE

Accessibility & contrast

On white

5.07
#227B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#227B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B71
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B71#FFFFFF#000000##FFFFFF
##227B711.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757471
Deuteranopia (green-blind)
#686A72
Tritanopia (blue-blind)
#007E78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227b71;
/* rgb */ color: rgb(34, 123, 113);
/* oklch */ color: oklch(52.9% 0.083 184.1);
Tailwind
colors: {
  custom: {
    50: '#6ba199',
    500: '#227b71',
    950: '#000000',
  },
}
SCSS
$custom: #227b71;
$custom-light: #6ba199;
$custom-dark: #000000;
JSON
{
  "hex": "#227b71",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 113
  },
  "hsl": {
    "h": 173.258,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52914,
    "c": 0.08299,
    "h": 184.1
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#227B71
secondary
#AE4B56
accent
#4859E0
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #227B71

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

Preview Lab → · Contrast checker → · Palette generator →

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