#DDD54D#DDD54D

#DDD54D is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.5% C 0.154 H 106.0°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#DDD54D
RGBrgb(221, 213, 77)
HSLhsl(57, 68%, 58%)
HSVhsv(57, 65%, 87%)
CMYKcmyk(0%, 3.6%, 65.2%, 13.3%)
CIE-LABlab(83.70, -13.22, 65.53)
CIE-LCHlch(83.70, 66.85, 101.40°)
OKLaboklab(85.5% -0.0422 0.1477)
OKLCHoklch(85.5% 0.154 106)
XYZxyz(54.9546, 63.4984, 16.3814)
Luminance0.6350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD54D #4D55DD
analogous
#DD8D4D #DDD54D #9DDD4D
triadic
#DDD54D #4DDDD5 #D54DDD
tetradic
#DDD54D #4DDD8D #4D55DD #DD4D9D
square
#DDD54D #4DDD8D #4D55DD #DD4D9D
split-complementary
#DDD54D #4D9DDD #8D4DDD
monochromatic
#938D1C #C7BE26 #DDD54D #E7E180 #F1EDB4

Accessibility & contrast

On white

1.53
#DDD54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#DDD54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD54D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD54D#FFFFFF#000000##000000
##DDD54D1.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD3B
Deuteranopia (green-blind)
#EAD355
Tritanopia (blue-blind)
#EDC7B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ddd54d;
/* rgb */ color: rgb(221, 213, 77);
/* oklch */ color: oklch(85.5% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#ebe186',
    500: '#ddd54d',
    950: '#000000',
  },
}
SCSS
$custom: #ddd54d;
$custom-light: #ebe186;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd54d",
  "rgb": {
    "r": 221,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 56.667,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85497,
    "c": 0.15363,
    "h": 106
  },
  "luminance": 0.63496
}

Semantic roles & 50–950 ramp

primary
#DDD54D
secondary
#363C98
accent
#47EB3D
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD54D

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

Preview Lab → · Contrast checker → · Palette generator →

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