#DED968#DED968

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

Color values

HEX#DED968
RGBrgb(222, 217, 104)
HSLhsl(57, 64%, 64%)
HSVhsv(57, 53%, 87%)
CMYKcmyk(0%, 2.3%, 53.2%, 12.9%)
CIE-LABlab(85.08, -12.95, 55.44)
CIE-LCHlch(85.08, 56.93, 103.15°)
OKLaboklab(86.69% -0.0386 0.1297)
OKLCHoklch(86.69% 0.135 106.6)
XYZxyz(57.4373, 66.1564, 22.8379)
Luminance0.6615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED968 #686DDE
analogous
#DE9E68 #DED968 #A8DE68
triadic
#DED968 #68DED9 #D968DE
tetradic
#DED968 #68DE9E #686DDE #DE68A8
square
#DED968 #68DE9E #686DDE #DE68A8
split-complementary
#DED968 #68A8DE #9E68DE
monochromatic
#A7A225 #D3CC36 #DED968 #E9E69A #F4F2CC

Accessibility & contrast

On white

1.48
#DED968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#DED968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED968
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED968#FFFFFF#000000##000000
##DED9681.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25D
Deuteranopia (green-blind)
#EBD76E
Tritanopia (blue-blind)
#ECCDC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded968;
/* rgb */ color: rgb(222, 217, 104);
/* oklch */ color: oklch(86.7% 0.135 106.6);
Tailwind
colors: {
  custom: {
    50: '#ebe496',
    500: '#ded968',
    950: '#000000',
  },
}
SCSS
$custom: #ded968;
$custom-light: #ebe496;
$custom-dark: #000000;
JSON
{
  "hex": "#ded968",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 57.458,
    "s": 64.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86686,
    "c": 0.13531,
    "h": 106.6
  },
  "luminance": 0.66155
}

Semantic roles & 50–950 ramp

primary
#DED968
secondary
#4145AA
accent
#21CC1A
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED968

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

Preview Lab → · Contrast checker → · Palette generator →

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