#DDC04F#DDC04F

#DDC04F is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.2% C 0.135 H 94.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#DDC04F
RGBrgb(221, 192, 79)
HSLhsl(48, 68%, 59%)
HSVhsv(48, 64%, 87%)
CMYKcmyk(0%, 13.1%, 64.3%, 13.3%)
CIE-LABlab(78.25, -2.40, 58.95)
CIE-LCHlch(78.25, 59.00, 92.34°)
OKLaboklab(81.17% -0.0112 0.1341)
OKLCHoklch(81.17% 0.135 94.8)
XYZxyz(50.0820, 53.6385, 15.1109)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC04F #4F6CDD
analogous
#DD794F #DDC04F #B3DD4F
triadic
#DDC04F #4FDDC0 #C04FDD
tetradic
#DDC04F #4FDD79 #4F6CDD #DD4FB3
square
#DDC04F #4FDD79 #4F6CDD #DD4FB3
split-complementary
#DDC04F #4FB3DD #794FDD
monochromatic
#957C1D #C8A727 #DDC04F #E7D282 #F1E5B6

Accessibility & contrast

On white

1.79
#DDC04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#DDC04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC04F
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC04F#FFFFFF#000000##000000
##DDC04F1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC42
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#EEB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ddc04f;
/* rgb */ color: rgb(221, 192, 79);
/* oklch */ color: oklch(81.2% 0.135 94.8);
Tailwind
colors: {
  custom: {
    50: '#ebd285',
    500: '#ddc04f',
    950: '#000000',
  },
}
SCSS
$custom: #ddc04f;
$custom-light: #ebd285;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc04f",
  "rgb": {
    "r": 221,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 47.746,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81174,
    "c": 0.13457,
    "h": 94.8
  },
  "luminance": 0.53636
}

Semantic roles & 50–950 ramp

primary
#DDC04F
secondary
#374B99
accent
#61EA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC04F

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

Preview Lab → · Contrast checker → · Palette generator →

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