#227971#227971

#227971 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.081 H 186.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#227971
RGBrgb(34, 121, 113)
HSLhsl(174, 56%, 30%)
HSVhsv(174, 72%, 47%)
CMYKcmyk(71.9%, 0%, 6.6%, 52.5%)
CIE-LABlab(45.91, -27.14, -3.02)
CIE-LCHlch(45.91, 27.31, 186.35°)
OKLaboklab(52.38% -0.0806 -0.0086)
OKLCHoklch(52.38% 0.081 186.1)
XYZxyz(10.4763, 15.2059, 18.0025)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227971 #79222A
analogous
#227945 #227971 #225579
triadic
#227971 #712279 #797122
tetradic
#227971 #452279 #79222A #557922
square
#227971 #452279 #79222A #557922
split-complementary
#227971 #792255 #794522
monochromatic
#071918 #154944 #227971 #2FA99E #49CCC0

Accessibility & contrast

On white

5.20
#227971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#227971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227971
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227971#FFFFFF#000000##FFFFFF
##2279711.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737271
Deuteranopia (green-blind)
#666972
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227971;
/* rgb */ color: rgb(34, 121, 113);
/* oklch */ color: oklch(52.4% 0.081 186.1);
Tailwind
colors: {
  custom: {
    50: '#6ba099',
    500: '#227971',
    950: '#000000',
  },
}
SCSS
$custom: #227971;
$custom-light: #6ba099;
$custom-dark: #000000;
JSON
{
  "hex": "#227971",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 113
  },
  "hsl": {
    "h": 174.483,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.08104,
    "h": 186.1
  },
  "luminance": 0.15207
}

Semantic roles & 50–950 ramp

primary
#227971
secondary
#AC4B54
accent
#4856DF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #227971

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

Preview Lab → · Contrast checker → · Palette generator →

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