#217951#217951

#217951 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.104 H 159.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#217951
RGBrgb(33, 121, 81)
HSLhsl(153, 57%, 30%)
HSVhsv(153, 73%, 47%)
CMYKcmyk(72.7%, 0%, 33.1%, 52.5%)
CIE-LABlab(45.07, -35.76, 14.67)
CIE-LCHlch(45.07, 38.66, 157.69°)
OKLaboklab(51.41% -0.0973 0.0371)
OKLCHoklch(51.41% 0.104 159.1)
XYZxyz(8.9489, 14.5911, 10.1277)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217951 #792149
analogous
#217925 #217951 #217579
triadic
#217951 #512179 #795121
tetradic
#217951 #252179 #792149 #757921
square
#217951 #252179 #792149 #757921
split-complementary
#217951 #792175 #792521
monochromatic
#071911 #144931 #217951 #2EA971 #47CD90

Accessibility & contrast

On white

5.36
#217951 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#217951 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217951
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217951#FFFFFF#000000##FFFFFF
##2179511.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4F
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217951;
/* rgb */ color: rgb(33, 121, 81);
/* oklch */ color: oklch(51.4% 0.104 159.1);
Tailwind
colors: {
  custom: {
    50: '#69a082',
    500: '#217951',
    950: '#000000',
  },
}
SCSS
$custom: #217951;
$custom-light: #69a082;
$custom-dark: #000000;
JSON
{
  "hex": "#217951",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 81
  },
  "hsl": {
    "h": 152.727,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.10413,
    "h": 159.1
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#217951
secondary
#AC4A76
accent
#478DE0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #217951

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

Preview Lab → · Contrast checker → · Palette generator →

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