#227762#227762

#227762 is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.3% C 0.087 H 172.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#227762
RGBrgb(34, 119, 98)
HSLhsl(165, 56%, 30%)
HSVhsv(165, 71%, 47%)
CMYKcmyk(71.4%, 0%, 17.6%, 53.3%)
CIE-LABlab(44.82, -30.45, 4.31)
CIE-LCHlch(44.82, 30.75, 171.94°)
OKLaboklab(51.34% -0.0859 0.0109)
OKLCHoklch(51.34% 0.087 172.7)
XYZxyz(9.4600, 14.4145, 13.8366)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227762 #772237
analogous
#227737 #227762 #226277
triadic
#227762 #622277 #776222
tetradic
#227762 #372277 #772237 #627722
square
#227762 #372277 #772237 #627722
split-complementary
#227762 #772262 #773722
monochromatic
#071814 #14473B #227762 #30A789 #49CBAB

Accessibility & contrast

On white

5.41
#227762 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#227762 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227762
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227762#FFFFFF#000000##FFFFFF
##2277621.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736F61
Deuteranopia (green-blind)
#676763
Tritanopia (blue-blind)
#007871
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227762;
/* rgb */ color: rgb(34, 119, 98);
/* oklch */ color: oklch(51.3% 0.087 172.7);
Tailwind
colors: {
  custom: {
    50: '#6a9f8e',
    500: '#227762',
    950: '#000000',
  },
}
SCSS
$custom: #227762;
$custom-light: #6a9f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#227762",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 98
  },
  "hsl": {
    "h": 165.176,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.08656,
    "h": 172.7
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#227762
secondary
#AA4B62
accent
#496EDF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #227762

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

Preview Lab → · Contrast checker → · Palette generator →

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