#227D5D#227D5D

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

Color values

HEX#227D5D
RGBrgb(34, 125, 93)
HSLhsl(159, 57%, 31%)
HSVhsv(159, 73%, 49%)
CMYKcmyk(72.8%, 0%, 25.6%, 51%)
CIE-LABlab(46.71, -34.50, 9.94)
CIE-LCHlch(46.71, 35.90, 163.92°)
OKLaboklab(52.85% -0.0951 0.0254)
OKLCHoklch(52.85% 0.098 165)
XYZxyz(9.9680, 15.7965, 12.8775)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D5D #7D2242
analogous
#227D2F #227D5D #226F7D
triadic
#227D5D #5D227D #7D5D22
tetradic
#227D5D #2F227D #7D2242 #6F7D22
square
#227D5D #2F227D #7D2242 #6F7D22
split-complementary
#227D5D #7D226F #7D2F22
monochromatic
#081D15 #154D39 #227D5D #2FAD81 #4BCEA0

Accessibility & contrast

On white

5.05
#227D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227D5D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D5D#FFFFFF#000000##FFFFFF
##227D5D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227d5d;
/* rgb */ color: rgb(34, 125, 93);
/* oklch */ color: oklch(52.8% 0.098 165.0);
Tailwind
colors: {
  custom: {
    50: '#6ba38b',
    500: '#227d5d',
    950: '#000000',
  },
}
SCSS
$custom: #227d5d;
$custom-light: #6ba38b;
$custom-dark: #000000;
JSON
{
  "hex": "#227d5d",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 158.901,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52846,
    "c": 0.0984,
    "h": 165
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#227D5D
secondary
#B04B6E
accent
#477DE0
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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