#DED04E#DED04E

#DED04E is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.5% C 0.148 H 103.2°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#DED04E
RGBrgb(222, 208, 78)
HSLhsl(54, 69%, 59%)
HSVhsv(54, 65%, 87%)
CMYKcmyk(0%, 6.3%, 64.9%, 12.9%)
CIE-LABlab(82.48, -10.23, 63.88)
CIE-LCHlch(82.48, 64.70, 99.10°)
OKLaboklab(84.55% -0.0337 0.1444)
OKLCHoklch(84.55% 0.148 103.2)
XYZxyz(54.0574, 61.1935, 16.1703)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED04E #4E5CDE
analogous
#DE884E #DED04E #A4DE4E
triadic
#DED04E #4EDED0 #D04EDE
tetradic
#DED04E #4EDE88 #4E5CDE #DE4EA4
square
#DED04E #4EDE88 #4E5CDE #DE4EA4
split-complementary
#DED04E #4EA4DE #884EDE
monochromatic
#968A1C #C9B926 #DED04E #E8DE82 #F1EBB5

Accessibility & contrast

On white

1.59
#DED04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#DED04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED04E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED04E#FFFFFF#000000##000000
##DED04E1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93D
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#EEC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ded04e;
/* rgb */ color: rgb(222, 208, 78);
/* oklch */ color: oklch(84.5% 0.148 103.2);
Tailwind
colors: {
  custom: {
    50: '#ecde86',
    500: '#ded04e',
    950: '#000000',
  },
}
SCSS
$custom: #ded04e;
$custom-light: #ecde86;
$custom-dark: #000000;
JSON
{
  "hex": "#ded04e",
  "rgb": {
    "r": 222,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 54.167,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84548,
    "c": 0.14825,
    "h": 103.2
  },
  "luminance": 0.61191
}

Semantic roles & 50–950 ramp

primary
#DED04E
secondary
#36409A
accent
#4DEB3C
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED04E

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

Preview Lab → · Contrast checker → · Palette generator →

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