#DDC54E#DDC54E

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

Color values

HEX#DDC54E
RGBrgb(221, 197, 78)
HSLhsl(50, 68%, 59%)
HSVhsv(50, 65%, 87%)
CMYKcmyk(0%, 10.9%, 64.7%, 13.3%)
CIE-LABlab(79.53, -5.05, 60.75)
CIE-LCHlch(79.53, 60.96, 94.75°)
OKLaboklab(82.19% -0.0189 0.1378)
OKLCHoklch(82.19% 0.139 97.8)
XYZxyz(51.1625, 55.8571, 15.2928)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC54E #4E66DD
analogous
#DD7D4E #DDC54E #ADDD4E
triadic
#DDC54E #4EDDC5 #C54EDD
tetradic
#DDC54E #4EDD7D #4E66DD #DD4EAD
square
#DDC54E #4EDD7D #4E66DD #DD4EAD
split-complementary
#DDC54E #4EADDD #7D4EDD
monochromatic
#94801C #C7AC26 #DDC54E #E7D681 #F1E7B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDC54E#FFFFFF#000000##000000
##DDC54E1.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)
#D7C03F
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#EEB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ddc54e;
/* rgb */ color: rgb(221, 197, 78);
/* oklch */ color: oklch(82.2% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#ebd685',
    500: '#ddc54e',
    950: '#000000',
  },
}
SCSS
$custom: #ddc54e;
$custom-light: #ebd685;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc54e",
  "rgb": {
    "r": 221,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 49.93,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82186,
    "c": 0.13905,
    "h": 97.8
  },
  "luminance": 0.55855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDC54E

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

Preview Lab → · Contrast checker → · Palette generator →

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