#DED98E#DED98E

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

Color values

HEX#DED98E
RGBrgb(222, 217, 142)
HSLhsl(56, 55%, 71%)
HSVhsv(56, 36%, 87%)
CMYKcmyk(0%, 2.3%, 36%, 12.9%)
CIE-LABlab(85.56, -9.27, 37.59)
CIE-LCHlch(85.56, 38.72, 103.85°)
OKLaboklab(87.23% -0.0247 0.0925)
OKLCHoklch(87.23% 0.096 104.9)
XYZxyz(59.8203, 67.1096, 35.3882)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED98E #8E93DE
analogous
#DEB18E #DED98E #BBDE8E
triadic
#DED98E #8EDED9 #D98EDE
tetradic
#DED98E #8EDEB1 #8E93DE #DE8EBB
square
#DED98E #8EDEB1 #8E93DE #DE8EBB
split-complementary
#DED98E #8EBBDE #B18EDE
monochromatic
#BBB337 #D0C95F #DED98E #ECE9BD #F8F7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED98E#FFFFFF#000000##000000
##DED98E1.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)
#E5D489
Deuteranopia (green-blind)
#E8D891
Tritanopia (blue-blind)
#E9D0C6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ded98e;
/* rgb */ color: rgb(222, 217, 142);
/* oklch */ color: oklch(87.2% 0.096 104.9);
Tailwind
colors: {
  custom: {
    50: '#e9e4b0',
    500: '#ded98e',
    950: '#000000',
  },
}
SCSS
$custom: #ded98e;
$custom-light: #e9e4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded98e",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 142
  },
  "hsl": {
    "h": 56.25,
    "s": 54.795,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87227,
    "c": 0.09574,
    "h": 104.9
  },
  "luminance": 0.67108
}

Semantic roles & 50–950 ramp

primary
#DED98E
secondary
#5A60B6
accent
#2DC223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED98E

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

Preview Lab → · Contrast checker → · Palette generator →

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