#DED96B#DED96B

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

Color values

HEX#DED96B
RGBrgb(222, 217, 107)
HSLhsl(57, 64%, 65%)
HSVhsv(57, 52%, 87%)
CMYKcmyk(0%, 2.3%, 51.8%, 12.9%)
CIE-LABlab(85.11, -12.71, 54.09)
CIE-LCHlch(85.11, 55.57, 103.22°)
OKLaboklab(86.72% -0.0376 0.1271)
OKLCHoklch(86.72% 0.133 106.5)
XYZxyz(57.5924, 66.2185, 23.6547)
Luminance0.6622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED96B #6B70DE
analogous
#DE9F6B #DED96B #AADE6B
triadic
#DED96B #6BDED9 #D96BDE
tetradic
#DED96B #6BDE9F #6B70DE #DE6BAA
square
#DED96B #6BDE9F #6B70DE #DE6BAA
split-complementary
#DED96B #6BAADE #9F6BDE
monochromatic
#A9A326 #D3CC39 #DED96B #E9E69D #F4F3CF

Accessibility & contrast

On white

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

On black

14.24
#DED96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED96B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED96B#FFFFFF#000000##000000
##DED96B1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded96b;
/* rgb */ color: rgb(222, 217, 107);
/* oklch */ color: oklch(86.7% 0.133 106.5);
Tailwind
colors: {
  custom: {
    50: '#eae498',
    500: '#ded96b',
    950: '#000000',
  },
}
SCSS
$custom: #ded96b;
$custom-light: #eae498;
$custom-dark: #000000;
JSON
{
  "hex": "#ded96b",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 57.391,
    "s": 63.536,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86721,
    "c": 0.13252,
    "h": 106.5
  },
  "luminance": 0.66217
}

Semantic roles & 50–950 ramp

primary
#DED96B
secondary
#4246AB
accent
#22CB1A
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED96B

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

Preview Lab → · Contrast checker → · Palette generator →

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