#DDC54D#DDC54D

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

Color values

HEX#DDC54D
RGBrgb(221, 197, 77)
HSLhsl(50, 68%, 58%)
HSVhsv(50, 65%, 87%)
CMYKcmyk(0%, 10.9%, 65.2%, 13.3%)
CIE-LABlab(79.52, -5.11, 61.16)
CIE-LCHlch(79.52, 61.37, 94.77°)
OKLaboklab(82.18% -0.0192 0.1385)
OKLCHoklch(82.18% 0.14 97.9)
XYZxyz(51.1269, 55.8429, 15.1055)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC54D #4D65DD
analogous
#DD7D4D #DDC54D #ADDD4D
triadic
#DDC54D #4DDDC5 #C54DDD
tetradic
#DDC54D #4DDD7D #4D65DD #DD4DAD
square
#DDC54D #4DDD7D #4D65DD #DD4DAD
split-complementary
#DDC54D #4DADDD #7D4DDD
monochromatic
#93801C #C7AC26 #DDC54D #E7D680 #F1E6B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDC54D#FFFFFF#000000##000000
##DDC54D1.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)
#D7C03E
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#EEB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ddc54d;
/* rgb */ color: rgb(221, 197, 77);
/* oklch */ color: oklch(82.2% 0.140 97.9);
Tailwind
colors: {
  custom: {
    50: '#ebd684',
    500: '#ddc54d',
    950: '#000000',
  },
}
SCSS
$custom: #ddc54d;
$custom-light: #ebd684;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc54d",
  "rgb": {
    "r": 221,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 50,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82177,
    "c": 0.1398,
    "h": 97.9
  },
  "luminance": 0.5584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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