#DDC04C#DDC04C

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

Color values

HEX#DDC04C
RGBrgb(221, 192, 76)
HSLhsl(48, 68%, 58%)
HSVhsv(48, 66%, 87%)
CMYKcmyk(0%, 13.1%, 65.6%, 13.3%)
CIE-LABlab(78.23, -2.58, 60.21)
CIE-LCHlch(78.23, 60.27, 92.46°)
OKLaboklab(81.15% -0.0121 0.1363)
OKLCHoklch(81.15% 0.137 95.1)
XYZxyz(49.9753, 53.5958, 14.5488)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC04C #4C69DD
analogous
#DD774C #DDC04C #B1DD4C
triadic
#DDC04C #4CDDC0 #C04CDD
tetradic
#DDC04C #4CDD77 #4C69DD #DD4CB1
square
#DDC04C #4CDD77 #4C69DD #DD4CB1
split-complementary
#DDC04C #4CB1DD #774CDD
monochromatic
#937B1C #C6A626 #DDC04C #E7D27F #F1E4B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDC04C#FFFFFF#000000##000000
##DDC04C1.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)
#D3BC3E
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#EEB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ddc04c;
/* rgb */ color: rgb(221, 192, 76);
/* oklch */ color: oklch(81.1% 0.137 95.1);
Tailwind
colors: {
  custom: {
    50: '#ebd283',
    500: '#ddc04c',
    950: '#000000',
  },
}
SCSS
$custom: #ddc04c;
$custom-light: #ebd283;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc04c",
  "rgb": {
    "r": 221,
    "g": 192,
    "b": 76
  },
  "hsl": {
    "h": 48,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81147,
    "c": 0.13684,
    "h": 95.1
  },
  "luminance": 0.53593
}

Semantic roles & 50–950 ramp

primary
#DDC04C
secondary
#364997
accent
#60EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC04C

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

Preview Lab → · Contrast checker → · Palette generator →

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