#DDD296#DDD296

#DDD296 is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.9% C 0.079 H 99.0°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#DDD296
RGBrgb(221, 210, 150)
HSLhsl(51, 51%, 73%)
HSVhsv(51, 32%, 87%)
CMYKcmyk(0%, 5%, 32.1%, 13.3%)
CIE-LABlab(83.79, -5.14, 31.17)
CIE-LCHlch(83.79, 31.59, 99.37°)
OKLaboklab(85.85% -0.0123 0.0778)
OKLCHoklch(85.85% 0.079 99)
XYZxyz(58.3710, 63.6688, 38.0627)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD296 #96A1DD
analogous
#DDAE96 #DDD296 #C5DD96
triadic
#DDD296 #96DDD2 #D296DD
tetradic
#DDD296 #96DDAE #96A1DD #DD96C5
square
#DDD296 #96DDAE #96A1DD #DD96C5
split-complementary
#DDD296 #96C5DD #AE96DD
monochromatic
#BCA83D #CEBE68 #DDD296 #ECE6C4 #F8F5E8

Accessibility & contrast

On white

1.53
#DDD296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#DDD296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD296
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD296#FFFFFF#000000##000000
##DDD2961.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE92
Deuteranopia (green-blind)
#E1D398
Tritanopia (blue-blind)
#E8CAC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ddd296;
/* rgb */ color: rgb(221, 210, 150);
/* oklch */ color: oklch(85.9% 0.079 99.0);
Tailwind
colors: {
  custom: {
    50: '#e8dfb5',
    500: '#ddd296',
    950: '#000000',
  },
}
SCSS
$custom: #ddd296;
$custom-light: #e8dfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd296",
  "rgb": {
    "r": 221,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 50.704,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.8585,
    "c": 0.07873,
    "h": 99
  },
  "luminance": 0.63667
}

Semantic roles & 50–950 ramp

primary
#DDD296
secondary
#626FB5
accent
#3FBE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DDD296

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

Preview Lab → · Contrast checker → · Palette generator →

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