#DDD54F#DDD54F

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

Color values

HEX#DDD54F
RGBrgb(221, 213, 79)
HSLhsl(57, 68%, 59%)
HSVhsv(57, 64%, 87%)
CMYKcmyk(0%, 3.6%, 64.3%, 13.3%)
CIE-LABlab(83.72, -13.10, 64.75)
CIE-LCHlch(83.72, 66.06, 101.44°)
OKLaboklab(85.51% -0.0417 0.1464)
OKLCHoklch(85.51% 0.152 105.9)
XYZxyz(55.0263, 63.5271, 16.7590)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD54F #4F57DD
analogous
#DD8E4F #DDD54F #9EDD4F
triadic
#DDD54F #4FDDD5 #D54FDD
tetradic
#DDD54F #4FDD8E #4F57DD #DD4F9E
square
#DDD54F #4FDD8E #4F57DD #DD4F9E
split-complementary
#DDD54F #4F9EDD #8E4FDD
monochromatic
#958E1D #C8BF27 #DDD54F #E7E182 #F1EDB6

Accessibility & contrast

On white

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

On black

13.71
#DDD54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD54F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD54F#FFFFFF#000000##000000
##DDD54F1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3E
Deuteranopia (green-blind)
#EAD357
Tritanopia (blue-blind)
#ECC7B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ddd54f;
/* rgb */ color: rgb(221, 213, 79);
/* oklch */ color: oklch(85.5% 0.152 105.9);
Tailwind
colors: {
  custom: {
    50: '#ebe187',
    500: '#ddd54f',
    950: '#000000',
  },
}
SCSS
$custom: #ddd54f;
$custom-light: #ebe187;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd54f",
  "rgb": {
    "r": 221,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 56.62,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85514,
    "c": 0.15218,
    "h": 105.9
  },
  "luminance": 0.63525
}

Semantic roles & 50–950 ramp

primary
#DDD54F
secondary
#373C99
accent
#47EA3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD54F

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

Preview Lab → · Contrast checker → · Palette generator →

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