#DFDD97#DFDD97

#DFDD97 is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.3% C 0.090 H 106.7°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#DFDD97
RGBrgb(223, 221, 151)
HSLhsl(58, 53%, 73%)
HSVhsv(58, 32%, 87%)
CMYKcmyk(0%, 0.9%, 32.3%, 12.5%)
CIE-LABlab(86.82, -9.84, 34.69)
CIE-LCHlch(86.82, 36.06, 105.84°)
OKLaboklab(88.29% -0.0258 0.0861)
OKLCHoklch(88.29% 0.09 106.7)
XYZxyz(61.8743, 69.6364, 39.4539)
Luminance0.6964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDD97 #9799DF
analogous
#DFB997 #DFDD97 #BDDF97
triadic
#DFDD97 #97DFDD #DD97DF
tetradic
#DFDD97 #97DFB9 #9799DF #DF97BD
square
#DFDD97 #97DFB9 #9799DF #DF97BD
split-complementary
#DFDD97 #97BDDF #B997DF
monochromatic
#C0BD3B #D1CE68 #DFDD97 #EDECC6 #F8F7E8

Accessibility & contrast

On white

1.41
#DFDD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#DFDD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDD97
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDD97#FFFFFF#000000##000000
##DFDD971.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D892
Deuteranopia (green-blind)
#EADB9A
Tritanopia (blue-blind)
#E9D4CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdd97;
/* rgb */ color: rgb(223, 221, 151);
/* oklch */ color: oklch(88.3% 0.090 106.7);
Tailwind
colors: {
  custom: {
    50: '#eae7b6',
    500: '#dfdd97',
    950: '#000000',
  },
}
SCSS
$custom: #dfdd97;
$custom-light: #eae7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdd97",
  "rgb": {
    "r": 223,
    "g": 221,
    "b": 151
  },
  "hsl": {
    "h": 58.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.8829,
    "c": 0.08986,
    "h": 106.7
  },
  "luminance": 0.69635
}

Semantic roles & 50–950 ramp

primary
#DFDD97
secondary
#6365B7
accent
#29C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DFDD97

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

Preview Lab → · Contrast checker → · Palette generator →

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