#227252#227252

#227252 is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.5% C 0.093 H 162.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#227252
RGBrgb(34, 114, 82)
HSLhsl(156, 54%, 29%)
HSVhsv(156, 70%, 45%)
CMYKcmyk(70.2%, 0%, 28.1%, 55.3%)
CIE-LABlab(42.74, -32.25, 10.87)
CIE-LCHlch(42.74, 34.04, 161.37°)
OKLaboklab(49.51% -0.0885 0.0277)
OKLCHoklch(49.51% 0.093 162.6)
XYZxyz(8.1992, 12.9830, 10.0549)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227252 #722242
analogous
#22722A #227252 #226A72
triadic
#227252 #522272 #725222
tetradic
#227252 #2A2272 #722242 #6A7222
square
#227252 #2A2272 #722242 #6A7222
split-complementary
#227252 #72226A #722A22
monochromatic
#071811 #144330 #227252 #30A174 #46C894

Accessibility & contrast

On white

5.84
#227252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#227252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227252
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227252#FFFFFF#000000##FFFFFF
##2272521.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706950
Deuteranopia (green-blind)
#656254
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227252;
/* rgb */ color: rgb(34, 114, 82);
/* oklch */ color: oklch(49.5% 0.093 162.6);
Tailwind
colors: {
  custom: {
    50: '#689b82',
    500: '#227252',
    950: '#000000',
  },
}
SCSS
$custom: #227252;
$custom-light: #689b82;
$custom-dark: #000000;
JSON
{
  "hex": "#227252",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 156,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49507,
    "c": 0.09273,
    "h": 162.6
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#227252
secondary
#A54B6F
accent
#4A85DD
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #227252

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

Preview Lab → · Contrast checker → · Palette generator →

#227252 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva