#227F62#227F62

#227F62 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.5% C 0.097 H 167.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#227F62
RGBrgb(34, 127, 98)
HSLhsl(161, 58%, 32%)
HSVhsv(161, 73%, 50%)
CMYKcmyk(73.2%, 0%, 22.8%, 50.2%)
CIE-LABlab(47.49, -34.13, 8.13)
CIE-LCHlch(47.49, 35.09, 166.61°)
OKLaboklab(53.53% -0.0947 0.0208)
OKLCHoklch(53.53% 0.097 167.6)
XYZxyz(10.4525, 16.3995, 14.1674)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F62 #7F223F
analogous
#227F34 #227F62 #226E7F
triadic
#227F62 #62227F #7F6222
tetradic
#227F62 #34227F #7F223F #6E7F22
square
#227F62 #34227F #7F223F #6E7F22
split-complementary
#227F62 #7F226E #7F3422
monochromatic
#081E17 #154F3D #227F62 #2FAF87 #4CCFA6

Accessibility & contrast

On white

4.91
#227F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#227F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F62
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F62#FFFFFF#000000##FFFFFF
##227F621.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7660
Deuteranopia (green-blind)
#706D64
Tritanopia (blue-blind)
#008077
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227f62;
/* rgb */ color: rgb(34, 127, 98);
/* oklch */ color: oklch(53.5% 0.097 167.6);
Tailwind
colors: {
  custom: {
    50: '#6ba58e',
    500: '#227f62',
    950: '#000000',
  },
}
SCSS
$custom: #227f62;
$custom-light: #6ba58e;
$custom-dark: #000000;
JSON
{
  "hex": "#227f62",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 98
  },
  "hsl": {
    "h": 161.29,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.09695,
    "h": 167.6
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

primary
#227F62
secondary
#B24B6B
accent
#4777E1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227F62

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

Preview Lab → · Contrast checker → · Palette generator →

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