#227C52#227C52

#227C52 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.3% C 0.107 H 158.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#227C52
RGBrgb(34, 124, 82)
HSLhsl(152, 57%, 31%)
HSVhsv(152, 73%, 49%)
CMYKcmyk(72.6%, 0%, 33.9%, 51.4%)
CIE-LABlab(46.13, -36.66, 15.54)
CIE-LCHlch(46.13, 39.82, 157.02°)
OKLaboklab(52.29% -0.0996 0.0393)
OKLCHoklch(52.29% 0.107 158.5)
XYZxyz(9.3894, 15.3635, 10.4516)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C52 #7C224C
analogous
#227C25 #227C52 #22797C
triadic
#227C52 #52227C #7C5222
tetradic
#227C52 #25227C #7C224C #797C22
square
#227C52 #25227C #7C224C #797C22
split-complementary
#227C52 #7C2279 #7C2522
monochromatic
#081C12 #154C32 #227C52 #2FAC72 #4BCE91

Accessibility & contrast

On white

5.16
#227C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#227C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C52
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C52#FFFFFF#000000##FFFFFF
##227C521.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724F
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c52;
/* rgb */ color: rgb(34, 124, 82);
/* oklch */ color: oklch(52.3% 0.107 158.5);
Tailwind
colors: {
  custom: {
    50: '#6aa383',
    500: '#227c52',
    950: '#000000',
  },
}
SCSS
$custom: #227c52;
$custom-light: #6aa383;
$custom-dark: #000000;
JSON
{
  "hex": "#227c52",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 152,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.10706,
    "h": 158.5
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#227C52
secondary
#AF4B7A
accent
#488FE0
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227C52

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

Preview Lab → · Contrast checker → · Palette generator →

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