#DED98D#DED98D

#DED98D is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.097 H 105.0°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#DED98D
RGBrgb(222, 217, 141)
HSLhsl(56, 55%, 71%)
HSVhsv(56, 36%, 87%)
CMYKcmyk(0%, 2.3%, 36.5%, 12.9%)
CIE-LABlab(85.54, -9.38, 38.08)
CIE-LCHlch(85.54, 39.22, 103.84°)
OKLaboklab(87.21% -0.0251 0.0936)
OKLCHoklch(87.21% 0.097 105)
XYZxyz(59.7456, 67.0797, 34.9945)
Luminance0.6708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED98D #8D92DE
analogous
#DEB08D #DED98D #BADE8D
triadic
#DED98D #8DDED9 #D98DDE
tetradic
#DED98D #8DDEB0 #8D92DE #DE8DBA
square
#DED98D #8DDEB0 #8D92DE #DE8DBA
split-complementary
#DED98D #8DBADE #B08DDE
monochromatic
#BBB236 #D0C95E #DED98D #ECE9BC #F8F7E7

Accessibility & contrast

On white

1.46
#DED98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#DED98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED98D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED98D#FFFFFF#000000##000000
##DED98D1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D487
Deuteranopia (green-blind)
#E8D890
Tritanopia (blue-blind)
#E9D0C6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ded98d;
/* rgb */ color: rgb(222, 217, 141);
/* oklch */ color: oklch(87.2% 0.097 105.0);
Tailwind
colors: {
  custom: {
    50: '#e9e4af',
    500: '#ded98d',
    950: '#000000',
  },
}
SCSS
$custom: #ded98d;
$custom-light: #e9e4af;
$custom-dark: #000000;
JSON
{
  "hex": "#ded98d",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 141
  },
  "hsl": {
    "h": 56.296,
    "s": 55.102,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8721,
    "c": 0.09688,
    "h": 105
  },
  "luminance": 0.67078
}

Semantic roles & 50–950 ramp

primary
#DED98D
secondary
#5A5FB6
accent
#2DC323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED98D

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

Preview Lab → · Contrast checker → · Palette generator →

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