#227E56#227E56

#227E56 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.9% C 0.106 H 160.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#227E56
RGBrgb(34, 126, 86)
HSLhsl(154, 58%, 31%)
HSVhsv(154, 73%, 49%)
CMYKcmyk(73%, 0%, 31.7%, 50.6%)
CIE-LABlab(46.89, -36.61, 14.27)
CIE-LCHlch(46.89, 39.29, 158.71°)
OKLaboklab(52.94% -0.0997 0.0362)
OKLCHoklch(52.94% 0.106 160.1)
XYZxyz(9.7993, 15.9326, 11.3611)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E56 #7E224A
analogous
#227E28 #227E56 #22787E
triadic
#227E56 #56227E #7E5622
tetradic
#227E56 #28227E #7E224A #787E22
square
#227E56 #28227E #7E224A #787E22
split-complementary
#227E56 #7E2278 #7E2822
monochromatic
#081E14 #154E35 #227E56 #2FAE77 #4CCF96

Accessibility & contrast

On white

5.02
#227E56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#227E56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E56
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E56#FFFFFF#000000##FFFFFF
##227E561.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7454
Deuteranopia (green-blind)
#716C59
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e56;
/* rgb */ color: rgb(34, 126, 86);
/* oklch */ color: oklch(52.9% 0.106 160.1);
Tailwind
colors: {
  custom: {
    50: '#6ba485',
    500: '#227e56',
    950: '#000000',
  },
}
SCSS
$custom: #227e56;
$custom-light: #6ba485;
$custom-dark: #000000;
JSON
{
  "hex": "#227e56",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 86
  },
  "hsl": {
    "h": 153.913,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52942,
    "c": 0.10609,
    "h": 160.1
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

primary
#227E56
secondary
#B14B77
accent
#478AE1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227E56

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

Preview Lab → · Contrast checker → · Palette generator →

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