#DFEC99#DFEC99

#DFEC99 is a very light, moderate yellow. Relative luminance 0.780; OKLCH L 91.4% C 0.106 H 115.8°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#DFEC99
RGBrgb(223, 236, 153)
HSLhsl(69, 69%, 76%)
HSVhsv(69, 35%, 93%)
CMYKcmyk(5.5%, 0%, 35.2%, 7.5%)
CIE-LABlab(90.77, -17.06, 38.85)
CIE-LCHlch(90.77, 42.43, 113.71°)
OKLaboklab(91.44% -0.0463 0.0958)
OKLCHoklch(91.44% 0.106 115.8)
XYZxyz(66.1768, 77.9794, 41.6961)
Luminance0.7798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC99 #A699EC
analogous
#ECD099 #DFEC99 #B6EC99
triadic
#DFEC99 #99DFEC #EC99DF
tetradic
#DFEC99 #99ECD0 #A699EC #EC99B6
square
#DFEC99 #99ECD0 #A699EC #EC99B6
split-complementary
#DFEC99 #99B6EC #D099EC
monochromatic
#BFD932 #CFE265 #DFEC99 #EFF6CD #F7FAE5

Accessibility & contrast

On white

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

On black

16.60
#DFEC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC99
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC99#FFFFFF#000000##000000
##DFEC991.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E493
Deuteranopia (green-blind)
#F6E59D
Tritanopia (blue-blind)
#E8E3D7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfec99;
/* rgb */ color: rgb(223, 236, 153);
/* oklch */ color: oklch(91.4% 0.106 115.8);
Tailwind
colors: {
  custom: {
    50: '#eaf2b8',
    500: '#dfec99',
    950: '#000000',
  },
}
SCSS
$custom: #dfec99;
$custom-light: #eaf2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec99",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 153
  },
  "hsl": {
    "h": 69.398,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.91443,
    "c": 0.10642,
    "h": 115.8
  },
  "luminance": 0.77979
}

Semantic roles & 50–950 ramp

primary
#DFEC99
secondary
#7262C8
accent
#15D132
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DFEC99

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

Preview Lab → · Contrast checker → · Palette generator →

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