#227251#227251

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

Color values

HEX#227251
RGBrgb(34, 114, 81)
HSLhsl(155, 54%, 29%)
HSVhsv(155, 70%, 45%)
CMYKcmyk(70.2%, 0%, 28.9%, 55.3%)
CIE-LABlab(42.71, -32.49, 11.43)
CIE-LCHlch(42.71, 34.45, 160.62°)
OKLaboklab(49.48% -0.089 0.0291)
OKLCHoklch(49.48% 0.094 161.9)
XYZxyz(8.1614, 12.9679, 9.8559)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227251 #722243
analogous
#227229 #227251 #226B72
triadic
#227251 #512272 #725122
tetradic
#227251 #292272 #722243 #6B7222
square
#227251 #292272 #722243 #6B7222
split-complementary
#227251 #72226B #722922
monochromatic
#071811 #144330 #227251 #30A172 #46C893

Accessibility & contrast

On white

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

On black

3.59
#227251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227251#FFFFFF#000000##FFFFFF
##2272511.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694F
Deuteranopia (green-blind)
#666253
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227251;
/* rgb */ color: rgb(34, 114, 81);
/* oklch */ color: oklch(49.5% 0.094 161.9);
Tailwind
colors: {
  custom: {
    50: '#689b82',
    500: '#227251',
    950: '#000000',
  },
}
SCSS
$custom: #227251;
$custom-light: #689b82;
$custom-dark: #000000;
JSON
{
  "hex": "#227251",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 81
  },
  "hsl": {
    "h": 155.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.09365,
    "h": 161.9
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#227251
secondary
#A54B70
accent
#4A87DD
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #227251

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

Preview Lab → · Contrast checker → · Palette generator →

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