#DDDF97#DDDF97

#DDDF97 is a very light, moderate yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.092 H 109.5°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#DDDF97
RGBrgb(221, 223, 151)
HSLhsl(62, 53%, 73%)
HSVhsv(62, 32%, 87%)
CMYKcmyk(0.9%, 0%, 32.3%, 12.5%)
CIE-LABlab(87.18, -11.61, 35.14)
CIE-LCHlch(87.18, 37.01, 108.29°)
OKLaboklab(88.54% -0.0308 0.0871)
OKLCHoklch(88.54% 0.092 109.5)
XYZxyz(61.7928, 70.3828, 39.6022)
Luminance0.7038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDDF97 #9997DF
analogous
#DFBD97 #DDDF97 #B9DF97
triadic
#DDDF97 #97DDDF #DF97DD
tetradic
#DDDF97 #97DFBD #9997DF #DF97B9
square
#DDDF97 #97DFBD #9997DF #DF97B9
split-complementary
#DDDF97 #97B9DF #BD97DF
monochromatic
#BDC03B #CED168 #DDDF97 #ECEDC6 #F7F8E8

Accessibility & contrast

On white

1.39
#DDDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#DDDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDDF97
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDDF97#FFFFFF#000000##000000
##DDDF971.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dddf97;
/* rgb */ color: rgb(221, 223, 151);
/* oklch */ color: oklch(88.5% 0.092 109.5);
Tailwind
colors: {
  custom: {
    50: '#e8e8b6',
    500: '#dddf97',
    950: '#000000',
  },
}
SCSS
$custom: #dddf97;
$custom-light: #e8e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dddf97",
  "rgb": {
    "r": 221,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 61.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88543,
    "c": 0.09242,
    "h": 109.5
  },
  "luminance": 0.70382
}

Semantic roles & 50–950 ramp

primary
#DDDF97
secondary
#6563B7
accent
#25C029
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DDDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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