#227D52#227D52

#227D52 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.6% C 0.108 H 158.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#227D52
RGBrgb(34, 125, 82)
HSLhsl(152, 57%, 31%)
HSVhsv(152, 73%, 49%)
CMYKcmyk(72.8%, 0%, 34.4%, 51%)
CIE-LABlab(46.47, -37.08, 16.00)
CIE-LCHlch(46.47, 40.39, 156.66°)
OKLaboklab(52.57% -0.1007 0.0404)
OKLCHoklch(52.57% 0.108 158.1)
XYZxyz(9.5154, 15.6154, 10.4936)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D52 #7D224D
analogous
#227D24 #227D52 #227A7D
triadic
#227D52 #52227D #7D5222
tetradic
#227D52 #24227D #7D224D #7A7D22
square
#227D52 #24227D #7D224D #7A7D22
split-complementary
#227D52 #7D227A #7D2422
monochromatic
#081D13 #154D32 #227D52 #2FAD72 #4BCE90

Accessibility & contrast

On white

5.09
#227D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#227D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D52
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D52#FFFFFF#000000##FFFFFF
##227D521.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734F
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227d52;
/* rgb */ color: rgb(34, 125, 82);
/* oklch */ color: oklch(52.6% 0.108 158.1);
Tailwind
colors: {
  custom: {
    50: '#6aa383',
    500: '#227d52',
    950: '#000000',
  },
}
SCSS
$custom: #227d52;
$custom-light: #6aa383;
$custom-dark: #000000;
JSON
{
  "hex": "#227d52",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 151.648,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.10848,
    "h": 158.1
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#227D52
secondary
#B04B7B
accent
#4790E0
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227D52

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

Preview Lab → · Contrast checker → · Palette generator →

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