#227F56#227F56

#227F56 is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.2% C 0.108 H 159.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#227F56
RGBrgb(34, 127, 86)
HSLhsl(154, 58%, 32%)
HSVhsv(154, 73%, 50%)
CMYKcmyk(73.2%, 0%, 32.3%, 50.2%)
CIE-LABlab(47.22, -37.04, 14.73)
CIE-LCHlch(47.22, 39.86, 158.31°)
OKLaboklab(53.22% -0.1008 0.0373)
OKLCHoklch(53.22% 0.108 159.7)
XYZxyz(9.9278, 16.1896, 11.4040)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F56 #7F224B
analogous
#227F27 #227F56 #227A7F
triadic
#227F56 #56227F #7F5622
tetradic
#227F56 #27227F #7F224B #7A7F22
square
#227F56 #27227F #7F224B #7A7F22
split-complementary
#227F56 #7F227A #7F2722
monochromatic
#081E15 #154F35 #227F56 #2FAF77 #4CCF95

Accessibility & contrast

On white

4.95
#227F56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#227F56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F56
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F56#FFFFFF#000000##FFFFFF
##227F561.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7554
Deuteranopia (green-blind)
#726D59
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227f56;
/* rgb */ color: rgb(34, 127, 86);
/* oklch */ color: oklch(53.2% 0.108 159.7);
Tailwind
colors: {
  custom: {
    50: '#6ba585',
    500: '#227f56',
    950: '#000000',
  },
}
SCSS
$custom: #227f56;
$custom-light: #6ba585;
$custom-dark: #000000;
JSON
{
  "hex": "#227f56",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 86
  },
  "hsl": {
    "h": 153.548,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.10751,
    "h": 159.7
  },
  "luminance": 0.16191
}

Semantic roles & 50–950 ramp

primary
#227F56
secondary
#B24B78
accent
#478BE1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227F56

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

Preview Lab → · Contrast checker → · Palette generator →

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