#DDC54F#DDC54F

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

Color values

HEX#DDC54F
RGBrgb(221, 197, 79)
HSLhsl(50, 68%, 59%)
HSVhsv(50, 64%, 87%)
CMYKcmyk(0%, 10.9%, 64.3%, 13.3%)
CIE-LABlab(79.54, -4.99, 60.33)
CIE-LCHlch(79.54, 60.54, 94.72°)
OKLaboklab(82.2% -0.0186 0.137)
OKLCHoklch(82.2% 0.138 97.7)
XYZxyz(51.1986, 55.8716, 15.4831)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC54F #4F67DD
analogous
#DD7E4F #DDC54F #AEDD4F
triadic
#DDC54F #4FDDC5 #C54FDD
tetradic
#DDC54F #4FDD7E #4F67DD #DD4FAE
square
#DDC54F #4FDD7E #4F67DD #DD4FAE
split-complementary
#DDC54F #4FAEDD #7E4FDD
monochromatic
#95811D #C8AD27 #DDC54F #E7D682 #F1E7B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDC54F#FFFFFF#000000##000000
##DDC54F1.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)
#D7C041
Deuteranopia (green-blind)
#DEC955
Tritanopia (blue-blind)
#EEB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ddc54f;
/* rgb */ color: rgb(221, 197, 79);
/* oklch */ color: oklch(82.2% 0.138 97.7);
Tailwind
colors: {
  custom: {
    50: '#ebd685',
    500: '#ddc54f',
    950: '#000000',
  },
}
SCSS
$custom: #ddc54f;
$custom-light: #ebd685;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc54f",
  "rgb": {
    "r": 221,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 49.859,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82195,
    "c": 0.13829,
    "h": 97.7
  },
  "luminance": 0.55869
}

Semantic roles & 50–950 ramp

primary
#DDC54F
secondary
#374799
accent
#5BEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC54F

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

Preview Lab → · Contrast checker → · Palette generator →

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