#227D5E#227D5E

#227D5E is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.9% C 0.098 H 165.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#227D5E
RGBrgb(34, 125, 94)
HSLhsl(160, 57%, 31%)
HSVhsv(160, 73%, 49%)
CMYKcmyk(72.8%, 0%, 24.8%, 51%)
CIE-LABlab(46.73, -34.25, 9.39)
CIE-LCHlch(46.73, 35.51, 164.67°)
OKLaboklab(52.87% -0.0946 0.024)
OKLCHoklch(52.87% 0.098 165.8)
XYZxyz(10.0126, 15.8143, 13.1123)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D5E #7D2241
analogous
#227D30 #227D5E #226E7D
triadic
#227D5E #5E227D #7D5E22
tetradic
#227D5E #30227D #7D2241 #6E7D22
square
#227D5E #30227D #7D2241 #6E7D22
split-complementary
#227D5E #7D226E #7D3022
monochromatic
#081D16 #154D3A #227D5E #2FAD82 #4BCEA2

Accessibility & contrast

On white

5.04
#227D5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227D5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D5E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D5E#FFFFFF#000000##FFFFFF
##227D5E1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745C
Deuteranopia (green-blind)
#6E6B60
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227d5e;
/* rgb */ color: rgb(34, 125, 94);
/* oklch */ color: oklch(52.9% 0.098 165.8);
Tailwind
colors: {
  custom: {
    50: '#6ba38b',
    500: '#227d5e',
    950: '#000000',
  },
}
SCSS
$custom: #227d5e;
$custom-light: #6ba38b;
$custom-dark: #000000;
JSON
{
  "hex": "#227d5e",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 94
  },
  "hsl": {
    "h": 159.56,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.09756,
    "h": 165.8
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#227D5E
secondary
#B04B6D
accent
#477BE0
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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