#DED96C#DED96C

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

Color values

HEX#DED96C
RGBrgb(222, 217, 108)
HSLhsl(57, 63%, 65%)
HSVhsv(57, 51%, 87%)
CMYKcmyk(0%, 2.3%, 51.4%, 12.9%)
CIE-LABlab(85.12, -12.62, 53.64)
CIE-LCHlch(85.12, 55.11, 103.24°)
OKLaboklab(86.73% -0.0373 0.1262)
OKLCHoklch(86.73% 0.132 106.5)
XYZxyz(57.6454, 66.2396, 23.9334)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED96C #6C71DE
analogous
#DEA06C #DED96C #AADE6C
triadic
#DED96C #6CDED9 #D96CDE
tetradic
#DED96C #6CDEA0 #6C71DE #DE6CAA
square
#DED96C #6CDEA0 #6C71DE #DE6CAA
split-complementary
#DED96C #6CAADE #A06CDE
monochromatic
#AAA426 #D3CC3A #DED96C #E9E69E #F4F3D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED96C#FFFFFF#000000##000000
##DED96C1.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)
#E8D262
Deuteranopia (green-blind)
#EBD771
Tritanopia (blue-blind)
#ECCDC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded96c;
/* rgb */ color: rgb(222, 217, 108);
/* oklch */ color: oklch(86.7% 0.132 106.5);
Tailwind
colors: {
  custom: {
    50: '#eae499',
    500: '#ded96c',
    950: '#000000',
  },
}
SCSS
$custom: #ded96c;
$custom-light: #eae499;
$custom-dark: #000000;
JSON
{
  "hex": "#ded96c",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 57.368,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86733,
    "c": 0.13158,
    "h": 106.5
  },
  "luminance": 0.66238
}

Semantic roles & 50–950 ramp

primary
#DED96C
secondary
#4247AC
accent
#22CB1A
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED96C

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

Preview Lab → · Contrast checker → · Palette generator →

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