#227F5E#227F5E

#227F5E is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.4% C 0.100 H 164.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#227F5E
RGBrgb(34, 127, 94)
HSLhsl(159, 58%, 32%)
HSVhsv(159, 73%, 50%)
CMYKcmyk(73.2%, 0%, 26%, 50.2%)
CIE-LABlab(47.40, -35.14, 10.33)
CIE-LCHlch(47.40, 36.62, 163.62°)
OKLaboklab(53.42% -0.0967 0.0264)
OKLCHoklch(53.42% 0.1 164.7)
XYZxyz(10.2683, 16.3258, 13.1975)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F5E #7F2243
analogous
#227F30 #227F5E #22727F
triadic
#227F5E #5E227F #7F5E22
tetradic
#227F5E #30227F #7F2243 #727F22
square
#227F5E #30227F #7F2243 #727F22
split-complementary
#227F5E #7F2272 #7F3022
monochromatic
#081E17 #154F3A #227F5E #2FAF82 #4CCFA1

Accessibility & contrast

On white

4.92
#227F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#227F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F5E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F5E#FFFFFF#000000##FFFFFF
##227F5E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C765C
Deuteranopia (green-blind)
#706D60
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227f5e;
/* rgb */ color: rgb(34, 127, 94);
/* oklch */ color: oklch(53.4% 0.100 164.7);
Tailwind
colors: {
  custom: {
    50: '#6ba58b',
    500: '#227f5e',
    950: '#000000',
  },
}
SCSS
$custom: #227f5e;
$custom-light: #6ba58b;
$custom-dark: #000000;
JSON
{
  "hex": "#227f5e",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 94
  },
  "hsl": {
    "h": 158.71,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.10027,
    "h": 164.7
  },
  "luminance": 0.16327
}

Semantic roles & 50–950 ramp

primary
#227F5E
secondary
#B24B70
accent
#477EE1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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