#227E52#227E52

#227E52 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.8% C 0.110 H 157.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#227E52
RGBrgb(34, 126, 82)
HSLhsl(151, 58%, 31%)
HSVhsv(151, 73%, 49%)
CMYKcmyk(73%, 0%, 34.9%, 50.6%)
CIE-LABlab(46.80, -37.51, 16.46)
CIE-LCHlch(46.80, 40.96, 156.30°)
OKLaboklab(52.85% -0.1018 0.0415)
OKLCHoklch(52.85% 0.11 157.8)
XYZxyz(9.6426, 15.8699, 10.5360)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E52 #7E224E
analogous
#227E24 #227E52 #227C7E
triadic
#227E52 #52227E #7E5222
tetradic
#227E52 #24227E #7E224E #7C7E22
square
#227E52 #24227E #7E224E #7C7E22
split-complementary
#227E52 #7E227C #7E2422
monochromatic
#081E13 #154E33 #227E52 #2FAE71 #4CCF90

Accessibility & contrast

On white

5.03
#227E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227E52
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E52#FFFFFF#000000##FFFFFF
##227E521.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744F
Deuteranopia (green-blind)
#716C55
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e52;
/* rgb */ color: rgb(34, 126, 82);
/* oklch */ color: oklch(52.8% 0.110 157.8);
Tailwind
colors: {
  custom: {
    50: '#6ba483',
    500: '#227e52',
    950: '#000000',
  },
}
SCSS
$custom: #227e52;
$custom-light: #6ba483;
$custom-dark: #000000;
JSON
{
  "hex": "#227e52",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 151.304,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.1099,
    "h": 157.8
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#227E52
secondary
#B14B7C
accent
#4791E1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227E52

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

Preview Lab → · Contrast checker → · Palette generator →

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