#DFEC97#DFEC97

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

Color values

HEX#DFEC97
RGBrgb(223, 236, 151)
HSLhsl(69, 69%, 76%)
HSVhsv(69, 36%, 93%)
CMYKcmyk(5.5%, 0%, 36%, 7.5%)
CIE-LABlab(90.74, -17.30, 39.81)
CIE-LCHlch(90.74, 43.40, 113.48°)
OKLaboklab(91.41% -0.0471 0.098)
OKLCHoklch(91.41% 0.109 115.7)
XYZxyz(66.0130, 77.9138, 40.8334)
Luminance0.7791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC97 #A497EC
analogous
#ECCE97 #DFEC97 #B4EC97
triadic
#DFEC97 #97DFEC #EC97DF
tetradic
#DFEC97 #97ECCE #A497EC #EC97B4
square
#DFEC97 #97ECCE #A497EC #EC97B4
split-complementary
#DFEC97 #97B4EC #CE97EC
monochromatic
#BFD930 #CFE363 #DFEC97 #EFF5CB #F7FAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFEC97#FFFFFF#000000##000000
##DFEC971.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)
#F7E491
Deuteranopia (green-blind)
#F6E59B
Tritanopia (blue-blind)
#E8E3D7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #dfec97;
/* rgb */ color: rgb(223, 236, 151);
/* oklch */ color: oklch(91.4% 0.109 115.7);
Tailwind
colors: {
  custom: {
    50: '#eaf2b6',
    500: '#dfec97',
    950: '#000000',
  },
}
SCSS
$custom: #dfec97;
$custom-light: #eaf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec97",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 69.176,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91409,
    "c": 0.10869,
    "h": 115.7
  },
  "luminance": 0.77913
}

Semantic roles & 50–950 ramp

primary
#DFEC97
secondary
#7060C8
accent
#14D131
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DFEC97

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

Preview Lab → · Contrast checker → · Palette generator →

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