#227D5F#227D5F

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

Color values

HEX#227D5F
RGBrgb(34, 125, 95)
HSLhsl(160, 57%, 31%)
HSVhsv(160, 73%, 49%)
CMYKcmyk(72.8%, 0%, 24%, 51%)
CIE-LABlab(46.75, -33.99, 8.84)
CIE-LCHlch(46.75, 35.12, 165.43°)
OKLaboklab(52.9% -0.094 0.0226)
OKLCHoklch(52.9% 0.097 166.5)
XYZxyz(10.0577, 15.8324, 13.3501)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D5F #7D2240
analogous
#227D31 #227D5F #226D7D
triadic
#227D5F #5F227D #7D5F22
tetradic
#227D5F #31227D #7D2240 #6D7D22
square
#227D5F #31227D #7D2240 #6D7D22
split-complementary
#227D5F #7D226D #7D3122
monochromatic
#081D16 #154D3A #227D5F #2FAD84 #4BCEA3

Accessibility & contrast

On white

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

On black

4.17
#227D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227D5F#FFFFFF#000000##FFFFFF
##227D5F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745D
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#007D75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227d5f;
/* rgb */ color: rgb(34, 125, 95);
/* oklch */ color: oklch(52.9% 0.097 166.5);
Tailwind
colors: {
  custom: {
    50: '#6ba38c',
    500: '#227d5f',
    950: '#000000',
  },
}
SCSS
$custom: #227d5f;
$custom-light: #6ba38c;
$custom-dark: #000000;
JSON
{
  "hex": "#227d5f",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 95
  },
  "hsl": {
    "h": 160.22,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.529,
    "c": 0.09673,
    "h": 166.5
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#227D5F
secondary
#B04B6C
accent
#477AE0
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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