#227C51#227C51

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

Color values

HEX#227C51
RGBrgb(34, 124, 81)
HSLhsl(151, 57%, 31%)
HSVhsv(151, 73%, 49%)
CMYKcmyk(72.6%, 0%, 34.7%, 51.4%)
CIE-LABlab(46.11, -36.88, 16.09)
CIE-LCHlch(46.11, 40.24, 156.42°)
OKLaboklab(52.27% -0.1001 0.0406)
OKLCHoklch(52.27% 0.108 157.9)
XYZxyz(9.3516, 15.3484, 10.2527)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C51 #7C224D
analogous
#227C24 #227C51 #227A7C
triadic
#227C51 #51227C #7C5122
tetradic
#227C51 #24227C #7C224D #7A7C22
square
#227C51 #24227C #7C224D #7A7C22
split-complementary
#227C51 #7C227A #7C2422
monochromatic
#081C12 #154C32 #227C51 #2FAC70 #4BCE8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227C51#FFFFFF#000000##FFFFFF
##227C511.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)
#7B724E
Deuteranopia (green-blind)
#706A54
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c51;
/* rgb */ color: rgb(34, 124, 81);
/* oklch */ color: oklch(52.3% 0.108 157.9);
Tailwind
colors: {
  custom: {
    50: '#6aa382',
    500: '#227c51',
    950: '#000000',
  },
}
SCSS
$custom: #227c51;
$custom-light: #6aa382;
$custom-dark: #000000;
JSON
{
  "hex": "#227c51",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 81
  },
  "hsl": {
    "h": 151.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.10802,
    "h": 157.9
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#227C51
secondary
#AF4B7B
accent
#4891E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227C51

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

Preview Lab → · Contrast checker → · Palette generator →

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