#DED96D#DED96D

#DED96D is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.7% C 0.131 H 106.4°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#DED96D
RGBrgb(222, 217, 109)
HSLhsl(57, 63%, 65%)
HSVhsv(57, 51%, 87%)
CMYKcmyk(0%, 2.3%, 50.9%, 12.9%)
CIE-LABlab(85.13, -12.54, 53.19)
CIE-LCHlch(85.13, 54.65, 103.27°)
OKLaboklab(86.75% -0.0369 0.1253)
OKLCHoklch(86.75% 0.131 106.4)
XYZxyz(57.6989, 66.2611, 24.2153)
Luminance0.6626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED96D #6D72DE
analogous
#DEA06D #DED96D #ABDE6D
triadic
#DED96D #6DDED9 #D96DDE
tetradic
#DED96D #6DDEA0 #6D72DE #DE6DAB
square
#DED96D #6DDEA0 #6D72DE #DE6DAB
split-complementary
#DED96D #6DABDE #A06DDE
monochromatic
#AAA426 #D3CC3B #DED96D #E9E69F #F5F3D1

Accessibility & contrast

On white

1.47
#DED96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#DED96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED96D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED96D#FFFFFF#000000##000000
##DED96D1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D263
Deuteranopia (green-blind)
#EBD772
Tritanopia (blue-blind)
#ECCDC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded96d;
/* rgb */ color: rgb(222, 217, 109);
/* oklch */ color: oklch(86.7% 0.131 106.4);
Tailwind
colors: {
  custom: {
    50: '#eae499',
    500: '#ded96d',
    950: '#000000',
  },
}
SCSS
$custom: #ded96d;
$custom-light: #eae499;
$custom-dark: #000000;
JSON
{
  "hex": "#ded96d",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 57.345,
    "s": 63.128,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86746,
    "c": 0.13062,
    "h": 106.4
  },
  "luminance": 0.66259
}

Semantic roles & 50–950 ramp

primary
#DED96D
secondary
#4347AC
accent
#22CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED96D

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

Preview Lab → · Contrast checker → · Palette generator →

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