#DDC54C#DDC54C

#DDC54C is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.2% C 0.141 H 98.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#DDC54C
RGBrgb(221, 197, 76)
HSLhsl(50, 68%, 58%)
HSVhsv(50, 66%, 87%)
CMYKcmyk(0%, 10.9%, 65.6%, 13.3%)
CIE-LABlab(79.52, -5.16, 61.57)
CIE-LCHlch(79.52, 61.79, 94.79°)
OKLaboklab(82.17% -0.0194 0.1392)
OKLCHoklch(82.17% 0.141 98)
XYZxyz(51.0918, 55.8289, 14.9209)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC54C #4C64DD
analogous
#DD7C4C #DDC54C #ACDD4C
triadic
#DDC54C #4CDDC5 #C54CDD
tetradic
#DDC54C #4CDD7C #4C64DD #DD4CAC
square
#DDC54C #4CDD7C #4C64DD #DD4CAC
split-complementary
#DDC54C #4CACDD #7C4CDD
monochromatic
#937F1C #C6AC26 #DDC54C #E7D67F #F1E6B3

Accessibility & contrast

On white

1.73
#DDC54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#DDC54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC54C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC54C#FFFFFF#000000##000000
##DDC54C1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03D
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#EEB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ddc54c;
/* rgb */ color: rgb(221, 197, 76);
/* oklch */ color: oklch(82.2% 0.141 98.0);
Tailwind
colors: {
  custom: {
    50: '#ebd684',
    500: '#ddc54c',
    950: '#000000',
  },
}
SCSS
$custom: #ddc54c;
$custom-light: #ebd684;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc54c",
  "rgb": {
    "r": 221,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 50.069,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82168,
    "c": 0.14054,
    "h": 98
  },
  "luminance": 0.55826
}

Semantic roles & 50–950 ramp

primary
#DDC54C
secondary
#364697
accent
#5AEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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