#217852#217852

#217852 is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.2% C 0.102 H 160.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#217852
RGBrgb(33, 120, 82)
HSLhsl(154, 57%, 30%)
HSVhsv(154, 73%, 47%)
CMYKcmyk(72.5%, 0%, 31.7%, 52.9%)
CIE-LABlab(44.75, -35.10, 13.65)
CIE-LCHlch(44.75, 37.66, 158.74°)
OKLaboklab(51.15% -0.0957 0.0346)
OKLCHoklch(51.15% 0.102 160.1)
XYZxyz(8.8658, 14.3645, 10.2864)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217852 #782147
analogous
#217826 #217852 #217378
triadic
#217852 #522178 #785221
tetradic
#217852 #262178 #782147 #737821
square
#217852 #262178 #782147 #737821
split-complementary
#217852 #782173 #782621
monochromatic
#071810 #144831 #217852 #2EA873 #47CC92

Accessibility & contrast

On white

5.42
#217852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217852
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217852#FFFFFF#000000##FFFFFF
##2178521.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217852;
/* rgb */ color: rgb(33, 120, 82);
/* oklch */ color: oklch(51.2% 0.102 160.1);
Tailwind
colors: {
  custom: {
    50: '#69a082',
    500: '#217852',
    950: '#000000',
  },
}
SCSS
$custom: #217852;
$custom-light: #69a082;
$custom-dark: #000000;
JSON
{
  "hex": "#217852",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 82
  },
  "hsl": {
    "h": 153.793,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.10175,
    "h": 160.1
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#217852
secondary
#AB4A74
accent
#488AE0
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #217852

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

Preview Lab → · Contrast checker → · Palette generator →

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