#DED04C#DED04C

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

Color values

HEX#DED04C
RGBrgb(222, 208, 76)
HSLhsl(54, 69%, 58%)
HSVhsv(54, 66%, 87%)
CMYKcmyk(0%, 6.3%, 65.8%, 12.9%)
CIE-LABlab(82.47, -10.35, 64.68)
CIE-LCHlch(82.47, 65.50, 99.09°)
OKLaboklab(84.53% -0.0343 0.1457)
OKLCHoklch(84.53% 0.15 103.2)
XYZxyz(53.9867, 61.1653, 15.7984)
Luminance0.6116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED04C #4C5ADE
analogous
#DE874C #DED04C #A3DE4C
triadic
#DED04C #4CDED0 #D04CDE
tetradic
#DED04C #4CDE87 #4C5ADE #DE4CA3
square
#DED04C #4CDE87 #4C5ADE #DE4CA3
split-complementary
#DED04C #4CA3DE #874CDE
monochromatic
#94891B #C8B825 #DED04C #E8DE80 #F1EBB3

Accessibility & contrast

On white

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

On black

13.23
#DED04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED04C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED04C#FFFFFF#000000##000000
##DED04C1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded04c;
/* rgb */ color: rgb(222, 208, 76);
/* oklch */ color: oklch(84.5% 0.150 103.2);
Tailwind
colors: {
  custom: {
    50: '#ecde85',
    500: '#ded04c',
    950: '#000000',
  },
}
SCSS
$custom: #ded04c;
$custom-light: #ecde85;
$custom-dark: #000000;
JSON
{
  "hex": "#ded04c",
  "rgb": {
    "r": 222,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 54.247,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84531,
    "c": 0.1497,
    "h": 103.2
  },
  "luminance": 0.61163
}

Semantic roles & 50–950 ramp

primary
#DED04C
secondary
#353F99
accent
#4DEC3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DED04C

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

Preview Lab → · Contrast checker → · Palette generator →

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