#DDC04E#DDC04E

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

Color values

HEX#DDC04E
RGBrgb(221, 192, 78)
HSLhsl(48, 68%, 59%)
HSVhsv(48, 65%, 87%)
CMYKcmyk(0%, 13.1%, 64.7%, 13.3%)
CIE-LABlab(78.24, -2.46, 59.37)
CIE-LCHlch(78.24, 59.43, 92.38°)
OKLaboklab(81.16% -0.0115 0.1348)
OKLCHoklch(81.16% 0.135 94.9)
XYZxyz(50.0459, 53.6240, 14.9207)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC04E #4E6BDD
analogous
#DD784E #DDC04E #B2DD4E
triadic
#DDC04E #4EDDC0 #C04EDD
tetradic
#DDC04E #4EDD78 #4E6BDD #DD4EB2
square
#DDC04E #4EDD78 #4E6BDD #DD4EB2
split-complementary
#DDC04E #4EB2DD #784EDD
monochromatic
#947C1C #C7A726 #DDC04E #E7D281 #F1E5B5

Accessibility & contrast

On white

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

On black

11.72
#DDC04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC04E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC04E#FFFFFF#000000##000000
##DDC04E1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddc04e;
/* rgb */ color: rgb(221, 192, 78);
/* oklch */ color: oklch(81.2% 0.135 94.9);
Tailwind
colors: {
  custom: {
    50: '#ebd285',
    500: '#ddc04e',
    950: '#000000',
  },
}
SCSS
$custom: #ddc04e;
$custom-light: #ebd285;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc04e",
  "rgb": {
    "r": 221,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 47.832,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81165,
    "c": 0.13533,
    "h": 94.9
  },
  "luminance": 0.53621
}

Semantic roles & 50–950 ramp

primary
#DDC04E
secondary
#364A99
accent
#60EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC04E

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

Preview Lab → · Contrast checker → · Palette generator →

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