#DFDE97#DFDE97

#DFDE97 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.5% C 0.091 H 107.4°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#DFDE97
RGBrgb(223, 222, 151)
HSLhsl(59, 53%, 73%)
HSVhsv(59, 32%, 87%)
CMYKcmyk(0%, 0.4%, 32.3%, 12.5%)
CIE-LABlab(87.08, -10.35, 35.03)
CIE-LCHlch(87.08, 36.53, 106.46°)
OKLaboklab(88.5% -0.0273 0.0869)
OKLCHoklch(88.5% 0.091 107.4)
XYZxyz(62.1391, 70.1660, 39.5421)
Luminance0.7016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDE97 #9798DF
analogous
#DFBA97 #DFDE97 #BCDF97
triadic
#DFDE97 #97DFDE #DE97DF
tetradic
#DFDE97 #97DFBA #9798DF #DF97BC
square
#DFDE97 #97DFBA #9798DF #DF97BC
split-complementary
#DFDE97 #97BCDF #BA97DF
monochromatic
#C0BF3B #D1CF68 #DFDE97 #EDEDC6 #F8F8E8

Accessibility & contrast

On white

1.40
#DFDE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#DFDE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDE97
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDE97#FFFFFF#000000##000000
##DFDE971.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D892
Deuteranopia (green-blind)
#EBDC9A
Tritanopia (blue-blind)
#E9D5CC
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfde97;
/* rgb */ color: rgb(223, 222, 151);
/* oklch */ color: oklch(88.5% 0.091 107.4);
Tailwind
colors: {
  custom: {
    50: '#eae8b6',
    500: '#dfde97',
    950: '#000000',
  },
}
SCSS
$custom: #dfde97;
$custom-light: #eae8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfde97",
  "rgb": {
    "r": 223,
    "g": 222,
    "b": 151
  },
  "hsl": {
    "h": 59.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88496,
    "c": 0.09104,
    "h": 107.4
  },
  "luminance": 0.70165
}

Semantic roles & 50–950 ramp

primary
#DFDE97
secondary
#6364B7
accent
#27C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DFDE97

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

Preview Lab → · Contrast checker → · Palette generator →

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