#DDD96C#DDD96C

#DDD96C is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.132 H 107.0°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#DDD96C
RGBrgb(221, 217, 108)
HSLhsl(58, 62%, 65%)
HSVhsv(58, 51%, 87%)
CMYKcmyk(0%, 1.8%, 51.1%, 13.3%)
CIE-LABlab(85.04, -13.03, 53.53)
CIE-LCHlch(85.04, 55.09, 103.68°)
OKLaboklab(86.65% -0.0384 0.126)
OKLCHoklch(86.65% 0.132 107)
XYZxyz(57.3399, 66.0821, 23.9191)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD96C #6C70DD
analogous
#DDA16C #DDD96C #A9DD6C
triadic
#DDD96C #6CDDD9 #D96CDD
tetradic
#DDD96C #6CDDA1 #6C70DD #DD6CA9
square
#DDD96C #6CDDA1 #6C70DD #DD6CA9
split-complementary
#DDD96C #6CA9DD #A16CDD
monochromatic
#A8A327 #D2CC3A #DDD96C #E8E69E #F4F3CF

Accessibility & contrast

On white

1.48
#DDD96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#DDD96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD96C
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD96C#FFFFFF#000000##000000
##DDD96C1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D262
Deuteranopia (green-blind)
#EBD771
Tritanopia (blue-blind)
#EBCDC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ddd96c;
/* rgb */ color: rgb(221, 217, 108);
/* oklch */ color: oklch(86.7% 0.132 107.0);
Tailwind
colors: {
  custom: {
    50: '#eae499',
    500: '#ddd96c',
    950: '#000000',
  },
}
SCSS
$custom: #ddd96c;
$custom-light: #eae499;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd96c",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 57.876,
    "s": 62.431,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8665,
    "c": 0.13167,
    "h": 107
  },
  "luminance": 0.66081
}

Semantic roles & 50–950 ramp

primary
#DDD96C
secondary
#4346AA
accent
#22CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DDD96C

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

Preview Lab → · Contrast checker → · Palette generator →

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