#DDD96B#DDD96B

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

Color values

HEX#DDD96B
RGBrgb(221, 217, 107)
HSLhsl(58, 63%, 64%)
HSVhsv(58, 52%, 87%)
CMYKcmyk(0%, 1.8%, 51.6%, 13.3%)
CIE-LABlab(85.03, -13.11, 53.98)
CIE-LCHlch(85.03, 55.55, 103.65°)
OKLaboklab(86.64% -0.0387 0.1268)
OKLCHoklch(86.64% 0.133 107)
XYZxyz(57.2870, 66.0610, 23.6404)
Luminance0.6606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD96B #6B6FDD
analogous
#DDA06B #DDD96B #A8DD6B
triadic
#DDD96B #6BDDD9 #D96BDD
tetradic
#DDD96B #6BDDA0 #6B6FDD #DD6BA8
square
#DDD96B #6BDDA0 #6B6FDD #DD6BA8
split-complementary
#DDD96B #6BA8DD #A06BDD
monochromatic
#A7A326 #D2CC39 #DDD96B #E8E69D #F4F3CF

Accessibility & contrast

On white

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

On black

14.21
#DDD96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD96B
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD96B#FFFFFF#000000##000000
##DDD96B1.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddd96b;
/* rgb */ color: rgb(221, 217, 107);
/* oklch */ color: oklch(86.6% 0.133 107.0);
Tailwind
colors: {
  custom: {
    50: '#eae498',
    500: '#ddd96b',
    950: '#000000',
  },
}
SCSS
$custom: #ddd96b;
$custom-light: #eae498;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd96b",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 57.895,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86638,
    "c": 0.13262,
    "h": 107
  },
  "luminance": 0.66059
}

Semantic roles & 50–950 ramp

primary
#DDD96B
secondary
#4246AA
accent
#21CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DDD96B

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

Preview Lab → · Contrast checker → · Palette generator →

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