#217851#217851

#217851 is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.1% C 0.103 H 159.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#217851
RGBrgb(33, 120, 81)
HSLhsl(153, 57%, 30%)
HSVhsv(153, 73%, 47%)
CMYKcmyk(72.5%, 0%, 32.5%, 52.9%)
CIE-LABlab(44.73, -35.33, 14.21)
CIE-LCHlch(44.73, 38.08, 158.09°)
OKLaboklab(51.13% -0.0962 0.036)
OKLCHoklch(51.13% 0.103 159.5)
XYZxyz(8.8280, 14.3494, 10.0874)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217851 #782148
analogous
#217825 #217851 #217478
triadic
#217851 #512178 #785121
tetradic
#217851 #252178 #782148 #747821
square
#217851 #252178 #782148 #747821
split-complementary
#217851 #782174 #782521
monochromatic
#071810 #144831 #217851 #2EA871 #47CC91

Accessibility & contrast

On white

5.43
#217851 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#217851 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217851
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217851#FFFFFF#000000##FFFFFF
##2178511.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4F
Deuteranopia (green-blind)
#6B6754
Tritanopia (blue-blind)
#00776E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217851;
/* rgb */ color: rgb(33, 120, 81);
/* oklch */ color: oklch(51.1% 0.103 159.5);
Tailwind
colors: {
  custom: {
    50: '#69a082',
    500: '#217851',
    950: '#000000',
  },
}
SCSS
$custom: #217851;
$custom-light: #69a082;
$custom-dark: #000000;
JSON
{
  "hex": "#217851",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 81
  },
  "hsl": {
    "h": 153.103,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51128,
    "c": 0.1027,
    "h": 159.5
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#217851
secondary
#AB4A75
accent
#488CE0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #217851

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

Preview Lab → · Contrast checker → · Palette generator →

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