#DEF8EC#DEF8EC

#DEF8EC is a very light, muted teal. Relative luminance 0.887; OKLCH L 95.7% C 0.031 H 166.3°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#DEF8EC
RGBrgb(222, 248, 236)
HSLhsl(152, 65%, 92%)
HSVhsv(152, 10%, 97%)
CMYKcmyk(10.5%, 0%, 4.8%, 2.7%)
CIE-LABlab(95.46, -10.67, 2.89)
CIE-LCHlch(95.46, 11.06, 164.87°)
OKLaboklab(95.69% -0.0306 0.0075)
OKLCHoklch(95.69% 0.031 166.3)
XYZxyz(78.8286, 88.7193, 92.3121)
Luminance0.8872 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8EC #F8DEEA
analogous
#DEF8DF #DEF8EC #DEF7F8
triadic
#DEF8EC #ECDEF8 #F8ECDE
tetradic
#DEF8EC #DFDEF8 #F8DEEA #F7F8DE
square
#DEF8EC #DFDEF8 #F8DEEA #F7F8DE
split-complementary
#DEF8EC #F8DEF7 #F8DFDE
monochromatic
#79E3B2 #ACEDCF #DEF8EC #E6FAF0 #E6FAF0

Accessibility & contrast

On white

1.12
#DEF8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#DEF8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8EC
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8EC#FFFFFF#000000##000000
##DEF8EC1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7F4EB
Deuteranopia (green-blind)
#F2F1ED
Tritanopia (blue-blind)
#D9F8F4
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #def8ec;
/* rgb */ color: rgb(222, 248, 236);
/* oklch */ color: oklch(95.7% 0.031 166.3);
Tailwind
colors: {
  custom: {
    50: '#e8faf2',
    500: '#def8ec',
    950: '#000000',
  },
}
SCSS
$custom: #def8ec;
$custom-light: #e8faf2;
$custom-dark: #000000;
JSON
{
  "hex": "#def8ec",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 236
  },
  "hsl": {
    "h": 152.308,
    "s": 65,
    "l": 92.157
  },
  "oklch": {
    "l": 0.95692,
    "c": 0.03148,
    "h": 166.3
  },
  "luminance": 0.88721
}

Semantic roles & 50–950 ramp

primary
#DEF8EC
secondary
#DB9FBB
accent
#196CCD
background
#FEFFFF
surface
#FCFFFE
border
#D5D7D6
text
#161716
muted
#848585

Preview Lab

Preview with #DEF8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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