#227F54#227F54

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

Color values

HEX#227F54
RGBrgb(34, 127, 84)
HSLhsl(152, 58%, 32%)
HSVhsv(152, 73%, 50%)
CMYKcmyk(73.2%, 0%, 33.9%, 50.2%)
CIE-LABlab(47.18, -37.49, 15.83)
CIE-LCHlch(47.18, 40.69, 157.11°)
OKLaboklab(53.17% -0.1018 0.04)
OKLCHoklch(53.17% 0.109 158.6)
XYZxyz(9.8483, 16.1578, 10.9855)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F54 #7F224D
analogous
#227F26 #227F54 #227C7F
triadic
#227F54 #54227F #7F5422
tetradic
#227F54 #26227F #7F224D #7C7F22
square
#227F54 #26227F #7F224D #7C7F22
split-complementary
#227F54 #7F227C #7F2622
monochromatic
#081E14 #154F34 #227F54 #2FAF74 #4CCF93

Accessibility & contrast

On white

4.96
#227F54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#227F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F54
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F54#FFFFFF#000000##FFFFFF
##227F541.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227f54;
/* rgb */ color: rgb(34, 127, 84);
/* oklch */ color: oklch(53.2% 0.109 158.6);
Tailwind
colors: {
  custom: {
    50: '#6ba584',
    500: '#227f54',
    950: '#000000',
  },
}
SCSS
$custom: #227f54;
$custom-light: #6ba584;
$custom-dark: #000000;
JSON
{
  "hex": "#227f54",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 84
  },
  "hsl": {
    "h": 152.258,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5317,
    "c": 0.1094,
    "h": 158.6
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#227F54
secondary
#B24B7B
accent
#478EE1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227F54

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

Preview Lab → · Contrast checker → · Palette generator →

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