#227771#227771

#227771 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.8% C 0.079 H 188.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#227771
RGBrgb(34, 119, 113)
HSLhsl(176, 56%, 30%)
HSVhsv(176, 71%, 47%)
CMYKcmyk(71.4%, 0%, 5%, 53.3%)
CIE-LABlab(45.25, -26.15, -4.00)
CIE-LCHlch(45.25, 26.45, 188.69°)
OKLaboklab(51.84% -0.0784 -0.0112)
OKLCHoklch(51.84% 0.079 188.2)
XYZxyz(10.2358, 14.7248, 17.9223)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227771 #772228
analogous
#227747 #227771 #225277
triadic
#227771 #712277 #777122
tetradic
#227771 #472277 #772228 #527722
square
#227771 #472277 #772228 #527722
split-complementary
#227771 #772252 #774722
monochromatic
#071817 #144744 #227771 #30A79E #49CBC2

Accessibility & contrast

On white

5.32
#227771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#227771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227771
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227771#FFFFFF#000000##FFFFFF
##2277711.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707071
Deuteranopia (green-blind)
#646772
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227771;
/* rgb */ color: rgb(34, 119, 113);
/* oklch */ color: oklch(51.8% 0.079 188.2);
Tailwind
colors: {
  custom: {
    50: '#6b9e99',
    500: '#227771',
    950: '#000000',
  },
}
SCSS
$custom: #227771;
$custom-light: #6b9e99;
$custom-dark: #000000;
JSON
{
  "hex": "#227771",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 113
  },
  "hsl": {
    "h": 175.765,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.07917,
    "h": 188.2
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#227771
secondary
#AA4B52
accent
#4954DF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #227771

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

Preview Lab → · Contrast checker → · Palette generator →

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