#DCDD98#DCDD98

#DCDD98 is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.1% C 0.089 H 108.8°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#DCDD98
RGBrgb(220, 221, 152)
HSLhsl(61, 50%, 73%)
HSVhsv(61, 31%, 87%)
CMYKcmyk(0.5%, 0%, 31.2%, 13.3%)
CIE-LABlab(86.60, -10.87, 33.85)
CIE-LCHlch(86.60, 35.55, 107.80°)
OKLaboklab(88.07% -0.0286 0.0841)
OKLCHoklch(88.07% 0.089 108.8)
XYZxyz(61.0395, 69.1965, 39.8404)
Luminance0.6920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDD98 #9998DD
analogous
#DDBB98 #DCDD98 #B9DD98
triadic
#DCDD98 #98DCDD #DD98DC
tetradic
#DCDD98 #98DDBB #9998DD #DD98B9
square
#DCDD98 #98DDBB #9998DD #DD98B9
split-complementary
#DCDD98 #98B9DD #BB98DD
monochromatic
#BBBC3E #CCCE6A #DCDD98 #ECECC6 #F7F7E8

Accessibility & contrast

On white

1.42
#DCDD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#DCDD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDD98
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDD98#FFFFFF#000000##000000
##DCDD981.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D793
Deuteranopia (green-blind)
#E9DA9B
Tritanopia (blue-blind)
#E5D5CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dcdd98;
/* rgb */ color: rgb(220, 221, 152);
/* oklch */ color: oklch(88.1% 0.089 108.8);
Tailwind
colors: {
  custom: {
    50: '#e7e7b7',
    500: '#dcdd98',
    950: '#000000',
  },
}
SCSS
$custom: #dcdd98;
$custom-light: #e7e7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdd98",
  "rgb": {
    "r": 220,
    "g": 221,
    "b": 152
  },
  "hsl": {
    "h": 60.87,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.88066,
    "c": 0.08888,
    "h": 108.8
  },
  "luminance": 0.69196
}

Semantic roles & 50–950 ramp

primary
#DCDD98
secondary
#6564B5
accent
#28BE2A
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDD98

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

Preview Lab → · Contrast checker → · Palette generator →

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