#DED04F#DED04F

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

Color values

HEX#DED04F
RGBrgb(222, 208, 79)
HSLhsl(54, 68%, 59%)
HSVhsv(54, 64%, 87%)
CMYKcmyk(0%, 6.3%, 64.4%, 12.9%)
CIE-LABlab(82.49, -10.17, 63.48)
CIE-LCHlch(82.49, 64.29, 99.10°)
OKLaboklab(84.56% -0.0334 0.1437)
OKLCHoklch(84.56% 0.148 103.1)
XYZxyz(54.0935, 61.2080, 16.3606)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED04F #4F5DDE
analogous
#DE894F #DED04F #A5DE4F
triadic
#DED04F #4FDED0 #D04FDE
tetradic
#DED04F #4FDE89 #4F5DDE #DE4FA5
square
#DED04F #4FDE89 #4F5DDE #DE4FA5
split-complementary
#DED04F #4FA5DE #894FDE
monochromatic
#968A1C #CABA26 #DED04F #E8DE83 #F1ECB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED04F#FFFFFF#000000##000000
##DED04F1.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)
#E2CA3F
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#EEC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ded04f;
/* rgb */ color: rgb(222, 208, 79);
/* oklch */ color: oklch(84.6% 0.148 103.1);
Tailwind
colors: {
  custom: {
    50: '#ecde86',
    500: '#ded04f',
    950: '#000000',
  },
}
SCSS
$custom: #ded04f;
$custom-light: #ecde86;
$custom-dark: #000000;
JSON
{
  "hex": "#ded04f",
  "rgb": {
    "r": 222,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 54.126,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84557,
    "c": 0.14751,
    "h": 103.1
  },
  "luminance": 0.61206
}

Semantic roles & 50–950 ramp

primary
#DED04F
secondary
#37409B
accent
#4EEB3D
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED04F

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

Preview Lab → · Contrast checker → · Palette generator →

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