#DED291#DED291

#DED291 is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.8% C 0.085 H 99.0°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#DED291
RGBrgb(222, 210, 145)
HSLhsl(51, 54%, 72%)
HSVhsv(51, 35%, 87%)
CMYKcmyk(0%, 5.4%, 34.7%, 12.9%)
CIE-LABlab(83.79, -5.36, 33.76)
CIE-LCHlch(83.79, 34.18, 99.02°)
OKLaboklab(85.84% -0.0132 0.0837)
OKLCHoklch(85.84% 0.085 99)
XYZxyz(58.2824, 63.6687, 36.0017)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED291 #919DDE
analogous
#DEAC91 #DED291 #C4DE91
triadic
#DED291 #91DED2 #D291DE
tetradic
#DED291 #91DEAC #919DDE #DE91C4
square
#DED291 #91DEAC #919DDE #DE91C4
split-complementary
#DED291 #91C4DE #AC91DE
monochromatic
#BCA838 #D0BF62 #DED291 #ECE5C0 #F8F5E7

Accessibility & contrast

On white

1.53
#DED291 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#DED291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED291
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED291#FFFFFF#000000##000000
##DED2911.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE8C
Deuteranopia (green-blind)
#E2D393
Tritanopia (blue-blind)
#E9C9C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded291;
/* rgb */ color: rgb(222, 210, 145);
/* oklch */ color: oklch(85.8% 0.085 99.0);
Tailwind
colors: {
  custom: {
    50: '#e9dfb2',
    500: '#ded291',
    950: '#000000',
  },
}
SCSS
$custom: #ded291;
$custom-light: #e9dfb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ded291",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 145
  },
  "hsl": {
    "h": 50.649,
    "s": 53.846,
    "l": 71.961
  },
  "oklch": {
    "l": 0.85843,
    "c": 0.08474,
    "h": 99
  },
  "luminance": 0.63667
}

Semantic roles & 50–950 ramp

primary
#DED291
secondary
#5D6BB6
accent
#3DC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161511
muted
#848481

Preview Lab

Preview with #DED291

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

Preview Lab → · Contrast checker → · Palette generator →

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