#227D51#227D51

#227D51 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.5% C 0.109 H 157.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#227D51
RGBrgb(34, 125, 81)
HSLhsl(151, 57%, 31%)
HSVhsv(151, 73%, 49%)
CMYKcmyk(72.8%, 0%, 35.2%, 51%)
CIE-LABlab(46.45, -37.30, 16.55)
CIE-LCHlch(46.45, 40.81, 156.07°)
OKLaboklab(52.55% -0.1012 0.0417)
OKLCHoklch(52.55% 0.109 157.6)
XYZxyz(9.4776, 15.6003, 10.2947)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D51 #7D224E
analogous
#227D23 #227D51 #227B7D
triadic
#227D51 #51227D #7D5122
tetradic
#227D51 #23227D #7D224E #7B7D22
square
#227D51 #23227D #7D224E #7B7D22
split-complementary
#227D51 #7D227B #7D2322
monochromatic
#081D13 #154D32 #227D51 #2FAD70 #4BCE8F

Accessibility & contrast

On white

5.10
#227D51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#227D51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D51
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D51#FFFFFF#000000##FFFFFF
##227D511.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734E
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227d51;
/* rgb */ color: rgb(34, 125, 81);
/* oklch */ color: oklch(52.5% 0.109 157.6);
Tailwind
colors: {
  custom: {
    50: '#6aa382',
    500: '#227d51',
    950: '#000000',
  },
}
SCSS
$custom: #227d51;
$custom-light: #6aa382;
$custom-dark: #000000;
JSON
{
  "hex": "#227d51",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 81
  },
  "hsl": {
    "h": 150.989,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.10945,
    "h": 157.6
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#227D51
secondary
#B04B7C
accent
#4791E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227D51

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

Preview Lab → · Contrast checker → · Palette generator →

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