#227A6D#227A6D

#227A6D is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.5% C 0.084 H 180.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#227A6D
RGBrgb(34, 122, 109)
HSLhsl(171, 56%, 31%)
HSVhsv(171, 72%, 48%)
CMYKcmyk(72.1%, 0%, 10.7%, 52.2%)
CIE-LABlab(46.13, -28.80, -0.33)
CIE-LCHlch(46.13, 28.81, 180.66°)
OKLaboklab(52.51% -0.0836 -0.0014)
OKLCHoklch(52.51% 0.084 180.9)
XYZxyz(10.3782, 15.3621, 16.8833)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A6D #7A222F
analogous
#227A41 #227A6D #225B7A
triadic
#227A6D #6D227A #7A6D22
tetradic
#227A6D #41227A #7A222F #5B7A22
square
#227A6D #41227A #7A222F #5B7A22
split-complementary
#227A6D #7A225B #7A4122
monochromatic
#071A17 #154A42 #227A6D #2FAA98 #4ACDB9

Accessibility & contrast

On white

5.16
#227A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#227A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A6D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A6D#FFFFFF#000000##FFFFFF
##227A6D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74736D
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227a6d;
/* rgb */ color: rgb(34, 122, 109);
/* oklch */ color: oklch(52.5% 0.084 180.9);
Tailwind
colors: {
  custom: {
    50: '#6ba196',
    500: '#227a6d',
    950: '#000000',
  },
}
SCSS
$custom: #227a6d;
$custom-light: #6ba196;
$custom-dark: #000000;
JSON
{
  "hex": "#227a6d",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 109
  },
  "hsl": {
    "h": 171.136,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.08366,
    "h": 180.9
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#227A6D
secondary
#AD4B59
accent
#485FE0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #227A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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