#DED166#DED166

#DED166 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.0% C 0.129 H 102.4°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#DED166
RGBrgb(222, 209, 102)
HSLhsl(54, 65%, 64%)
HSVhsv(54, 54%, 87%)
CMYKcmyk(0%, 5.9%, 54.1%, 12.9%)
CIE-LABlab(82.96, -9.09, 53.91)
CIE-LCHlch(82.96, 54.67, 99.57°)
OKLaboklab(85% -0.0278 0.1262)
OKLCHoklch(85% 0.129 102.4)
XYZxyz(55.3247, 62.0918, 21.6384)
Luminance0.6209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED166 #6673DE
analogous
#DE9566 #DED166 #AFDE66
triadic
#DED166 #66DED1 #D166DE
tetradic
#DED166 #66DE95 #6673DE #DE66AF
square
#DED166 #66DE95 #6673DE #DE66AF
split-complementary
#DED166 #66AFDE #9566DE
monochromatic
#A69824 #D3C234 #DED166 #E9E098 #F4EFCB

Accessibility & contrast

On white

1.57
#DED166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#DED166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED166
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED166#FFFFFF#000000##000000
##DED1661.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5C
Deuteranopia (green-blind)
#E5D16B
Tritanopia (blue-blind)
#EDC5B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded166;
/* rgb */ color: rgb(222, 209, 102);
/* oklch */ color: oklch(85.0% 0.129 102.4);
Tailwind
colors: {
  custom: {
    50: '#ebde95',
    500: '#ded166',
    950: '#000000',
  },
}
SCSS
$custom: #ded166;
$custom-light: #ebde95;
$custom-dark: #000000;
JSON
{
  "hex": "#ded166",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 53.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84999,
    "c": 0.12921,
    "h": 102.4
  },
  "luminance": 0.6209
}

Semantic roles & 50–950 ramp

primary
#DED166
secondary
#404BA9
accent
#2DCC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DED166

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

Preview Lab → · Contrast checker → · Palette generator →

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