#DED98A#DED98A

#DED98A is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.100 H 105.2°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#DED98A
RGBrgb(222, 217, 138)
HSLhsl(56, 56%, 71%)
HSVhsv(56, 38%, 87%)
CMYKcmyk(0%, 2.3%, 37.8%, 12.9%)
CIE-LABlab(85.50, -9.71, 39.53)
CIE-LCHlch(85.50, 40.71, 103.81°)
OKLaboklab(87.16% -0.0262 0.0968)
OKLCHoklch(87.16% 0.1 105.2)
XYZxyz(59.5254, 66.9917, 33.8348)
Luminance0.6699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED98A #8A8FDE
analogous
#DEAF8A #DED98A #B9DE8A
triadic
#DED98A #8ADED9 #D98ADE
tetradic
#DED98A #8ADEAF #8A8FDE #DE8AB9
square
#DED98A #8ADEAF #8A8FDE #DE8AB9
split-complementary
#DED98A #8AB9DE #AF8ADE
monochromatic
#B9B134 #D1C95A #DED98A #EBE9BA #F8F7E7

Accessibility & contrast

On white

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

On black

14.40
#DED98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED98A
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED98A#FFFFFF#000000##000000
##DED98A1.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D384
Deuteranopia (green-blind)
#E8D88D
Tritanopia (blue-blind)
#E9CFC5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ded98a;
/* rgb */ color: rgb(222, 217, 138);
/* oklch */ color: oklch(87.2% 0.100 105.2);
Tailwind
colors: {
  custom: {
    50: '#e9e4ad',
    500: '#ded98a',
    950: '#000000',
  },
}
SCSS
$custom: #ded98a;
$custom-light: #e9e4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ded98a",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 138
  },
  "hsl": {
    "h": 56.429,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8716,
    "c": 0.10028,
    "h": 105.2
  },
  "luminance": 0.6699
}

Semantic roles & 50–950 ramp

primary
#DED98A
secondary
#575CB5
accent
#2CC422
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED98A

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

Preview Lab → · Contrast checker → · Palette generator →

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