#DED98F#DED98F

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

Color values

HEX#DED98F
RGBrgb(222, 217, 143)
HSLhsl(56, 54%, 72%)
HSVhsv(56, 36%, 87%)
CMYKcmyk(0%, 2.3%, 35.6%, 12.9%)
CIE-LABlab(85.57, -9.15, 37.11)
CIE-LCHlch(85.57, 38.22, 103.85°)
OKLaboklab(87.24% -0.0243 0.0914)
OKLCHoklch(87.24% 0.095 104.9)
XYZxyz(59.8957, 67.1398, 35.7854)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED98F #8F94DE
analogous
#DEB28F #DED98F #BCDE8F
triadic
#DED98F #8FDED9 #D98FDE
tetradic
#DED98F #8FDEB2 #8F94DE #DE8FBC
square
#DED98F #8FDEB2 #8F94DE #DE8FBC
split-complementary
#DED98F #8FBCDE #B28FDE
monochromatic
#BBB337 #D0C960 #DED98F #ECE9BE #F8F7E7

Accessibility & contrast

On white

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

On black

14.43
#DED98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED98F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED98F#FFFFFF#000000##000000
##DED98F1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded98f;
/* rgb */ color: rgb(222, 217, 143);
/* oklch */ color: oklch(87.2% 0.095 104.9);
Tailwind
colors: {
  custom: {
    50: '#e9e4b0',
    500: '#ded98f',
    950: '#000000',
  },
}
SCSS
$custom: #ded98f;
$custom-light: #e9e4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded98f",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 143
  },
  "hsl": {
    "h": 56.203,
    "s": 54.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87244,
    "c": 0.09459,
    "h": 104.9
  },
  "luminance": 0.67138
}

Semantic roles & 50–950 ramp

primary
#DED98F
secondary
#5B61B6
accent
#2EC224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED98F

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

Preview Lab → · Contrast checker → · Palette generator →

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