#227151#227151

#227151 is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.2% C 0.092 H 162.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#227151
RGBrgb(34, 113, 81)
HSLhsl(156, 54%, 29%)
HSVhsv(156, 70%, 44%)
CMYKcmyk(69.9%, 0%, 28.3%, 55.7%)
CIE-LABlab(42.37, -32.04, 10.96)
CIE-LCHlch(42.37, 33.86, 161.12°)
OKLaboklab(49.2% -0.0879 0.0279)
OKLCHoklch(49.2% 0.092 162.4)
XYZxyz(8.0492, 12.7435, 9.8185)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227151 #712242
analogous
#22712A #227151 #226A71
triadic
#227151 #512271 #715122
tetradic
#227151 #2A2271 #712242 #6A7122
square
#227151 #2A2271 #712242 #6A7122
split-complementary
#227151 #71226A #712A22
monochromatic
#071811 #14422F #227151 #30A073 #46C793

Accessibility & contrast

On white

5.92
#227151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#227151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227151
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227151#FFFFFF#000000##FFFFFF
##2271511.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684F
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#007168
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227151;
/* rgb */ color: rgb(34, 113, 81);
/* oklch */ color: oklch(49.2% 0.092 162.4);
Tailwind
colors: {
  custom: {
    50: '#689a82',
    500: '#227151',
    950: '#000000',
  },
}
SCSS
$custom: #227151;
$custom-light: #689a82;
$custom-dark: #000000;
JSON
{
  "hex": "#227151",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 155.696,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.0922,
    "h": 162.4
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#227151
secondary
#A44A6F
accent
#4B86DD
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #227151

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

Preview Lab → · Contrast checker → · Palette generator →

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