#DED962#DED962

#DED962 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.141 H 106.8°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#DED962
RGBrgb(222, 217, 98)
HSLhsl(58, 65%, 63%)
HSVhsv(58, 56%, 87%)
CMYKcmyk(0%, 2.3%, 55.9%, 12.9%)
CIE-LABlab(85.02, -13.41, 58.08)
CIE-LCHlch(85.02, 59.61, 103.00°)
OKLaboklab(86.62% -0.0406 0.1347)
OKLCHoklch(86.62% 0.141 106.8)
XYZxyz(57.1434, 66.0388, 21.2896)
Luminance0.6604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED962 #6267DE
analogous
#DE9B62 #DED962 #A5DE62
triadic
#DED962 #62DED9 #D962DE
tetradic
#DED962 #62DE9B #6267DE #DE62A5
square
#DED962 #62DE9B #6267DE #DE62A5
split-complementary
#DED962 #62A5DE #9B62DE
monochromatic
#A39E22 #D3CD2F #DED962 #E9E595 #F3F1C7

Accessibility & contrast

On white

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

On black

14.21
#DED962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED962
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED962#FFFFFF#000000##000000
##DED9621.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D256
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#ECCCBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded962;
/* rgb */ color: rgb(222, 217, 98);
/* oklch */ color: oklch(86.6% 0.141 106.8);
Tailwind
colors: {
  custom: {
    50: '#ebe492',
    500: '#ded962',
    950: '#000000',
  },
}
SCSS
$custom: #ded962;
$custom-light: #ebe492;
$custom-dark: #000000;
JSON
{
  "hex": "#ded962",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 57.581,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86619,
    "c": 0.1407,
    "h": 106.8
  },
  "luminance": 0.66037
}

Semantic roles & 50–950 ramp

primary
#DED962
secondary
#3E42A6
accent
#20CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED962

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

Preview Lab → · Contrast checker → · Palette generator →

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