#227E6F#227E6F

#227E6F is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.7% C 0.087 H 179.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#227E6F
RGBrgb(34, 126, 111)
HSLhsl(170, 58%, 31%)
HSVhsv(170, 73%, 49%)
CMYKcmyk(73%, 0%, 11.9%, 50.6%)
CIE-LABlab(47.51, -30.15, 0.50)
CIE-LCHlch(47.51, 30.16, 179.06°)
OKLaboklab(53.65% -0.087 0.0008)
OKLCHoklch(53.65% 0.087 179.5)
XYZxyz(10.9884, 16.4082, 17.6238)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E6F #7E2231
analogous
#227E41 #227E6F #225F7E
triadic
#227E6F #6F227E #7E6F22
tetradic
#227E6F #41227E #7E2231 #5F7E22
square
#227E6F #41227E #7E2231 #5F7E22
split-complementary
#227E6F #7E225F #7E4122
monochromatic
#081E1A #154E45 #227E6F #2FAE99 #4CCFB9

Accessibility & contrast

On white

4.90
#227E6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#227E6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E6F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E6F#FFFFFF#000000##FFFFFF
##227E6F1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78766E
Deuteranopia (green-blind)
#6C6D70
Tritanopia (blue-blind)
#008079
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227e6f;
/* rgb */ color: rgb(34, 126, 111);
/* oklch */ color: oklch(53.7% 0.087 179.5);
Tailwind
colors: {
  custom: {
    50: '#6ca498',
    500: '#227e6f',
    950: '#000000',
  },
}
SCSS
$custom: #227e6f;
$custom-light: #6ca498;
$custom-dark: #000000;
JSON
{
  "hex": "#227e6f",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 111
  },
  "hsl": {
    "h": 170.217,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53654,
    "c": 0.08705,
    "h": 179.5
  },
  "luminance": 0.16409
}

Semantic roles & 50–950 ramp

primary
#227E6F
secondary
#B14B5C
accent
#4760E1
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #227E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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