#DFEC96#DFEC96

#DFEC96 is a very light, moderate yellow. Relative luminance 0.779; OKLCH L 91.4% C 0.110 H 115.6°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#DFEC96
RGBrgb(223, 236, 150)
HSLhsl(69, 69%, 76%)
HSVhsv(69, 36%, 93%)
CMYKcmyk(5.5%, 0%, 36.4%, 7.5%)
CIE-LABlab(90.73, -17.41, 40.29)
CIE-LCHlch(90.73, 43.89, 113.38°)
OKLaboklab(91.39% -0.0475 0.099)
OKLCHoklch(91.39% 0.11 115.6)
XYZxyz(65.9321, 77.8815, 40.4076)
Luminance0.7788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC96 #A396EC
analogous
#ECCE96 #DFEC96 #B4EC96
triadic
#DFEC96 #96DFEC #EC96DF
tetradic
#DFEC96 #96ECCE #A396EC #EC96B4
square
#DFEC96 #96ECCE #A396EC #EC96B4
split-complementary
#DFEC96 #96B4EC #CE96EC
monochromatic
#BFD92E #CFE362 #DFEC96 #EFF5CA #F7FAE5

Accessibility & contrast

On white

1.27
#DFEC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#DFEC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC96
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC96#FFFFFF#000000##000000
##DFEC961.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E490
Deuteranopia (green-blind)
#F6E59A
Tritanopia (blue-blind)
#E8E3D7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #dfec96;
/* rgb */ color: rgb(223, 236, 150);
/* oklch */ color: oklch(91.4% 0.110 115.6);
Tailwind
colors: {
  custom: {
    50: '#eaf2b6',
    500: '#dfec96',
    950: '#000000',
  },
}
SCSS
$custom: #dfec96;
$custom-light: #eaf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec96",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 150
  },
  "hsl": {
    "h": 69.07,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91392,
    "c": 0.10981,
    "h": 115.6
  },
  "luminance": 0.77881
}

Semantic roles & 50–950 ramp

primary
#DFEC96
secondary
#6F5FC7
accent
#14D131
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DFEC96

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

Preview Lab → · Contrast checker → · Palette generator →

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