#DDC54A#DDC54A

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

Color values

HEX#DDC54A
RGBrgb(221, 197, 74)
HSLhsl(50, 68%, 58%)
HSVhsv(50, 67%, 87%)
CMYKcmyk(0%, 10.9%, 66.5%, 13.3%)
CIE-LABlab(79.50, -5.28, 62.38)
CIE-LCHlch(79.50, 62.60, 94.84°)
OKLaboklab(82.15% -0.02 0.1406)
OKLCHoklch(82.15% 0.142 98.1)
XYZxyz(51.0234, 55.8015, 14.5604)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC54A #4A62DD
analogous
#DD7B4A #DDC54A #ABDD4A
triadic
#DDC54A #4ADDC5 #C54ADD
tetradic
#DDC54A #4ADD7B #4A62DD #DD4AAB
square
#DDC54A #4ADD7B #4A62DD #DD4AAB
split-complementary
#DDC54A #4AABDD #7B4ADD
monochromatic
#917E1B #C5AB25 #DDC54A #E7D67E #F0E6B1

Accessibility & contrast

On white

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

On black

12.16
#DDC54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC54A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC54A#FFFFFF#000000##000000
##DDC54A1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddc54a;
/* rgb */ color: rgb(221, 197, 74);
/* oklch */ color: oklch(82.2% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#ebd683',
    500: '#ddc54a',
    950: '#000000',
  },
}
SCSS
$custom: #ddc54a;
$custom-light: #ebd683;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc54a",
  "rgb": {
    "r": 221,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 50.204,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82151,
    "c": 0.14201,
    "h": 98.1
  },
  "luminance": 0.55799
}

Semantic roles & 50–950 ramp

primary
#DDC54A
secondary
#354596
accent
#59EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC54A

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

Preview Lab → · Contrast checker → · Palette generator →

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