#DDD951#DDD951

#DDD951 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.155 H 107.6°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#DDD951
RGBrgb(221, 217, 81)
HSLhsl(58, 67%, 59%)
HSVhsv(58, 63%, 87%)
CMYKcmyk(0%, 1.8%, 63.3%, 13.3%)
CIE-LABlab(84.79, -14.97, 65.06)
CIE-LCHlch(84.79, 66.76, 102.96°)
OKLaboklab(86.37% -0.0468 0.1473)
OKLCHoklch(86.37% 0.155 107.6)
XYZxyz(56.1188, 65.5937, 17.4877)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD951 #5155DD
analogous
#DD9351 #DDD951 #9BDD51
triadic
#DDD951 #51DDD9 #D951DD
tetradic
#DDD951 #51DD93 #5155DD #DD519B
square
#DDD951 #51DD93 #5155DD #DD519B
split-complementary
#DDD951 #519BDD #9351DD
monochromatic
#96931D #C9C527 #DDD951 #E7E484 #F1EFB7

Accessibility & contrast

On white

1.49
#DDD951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#DDD951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD951
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD951#FFFFFF#000000##000000
##DDD9511.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13F
Deuteranopia (green-blind)
#EDD659
Tritanopia (blue-blind)
#ECCCBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ddd951;
/* rgb */ color: rgb(221, 217, 81);
/* oklch */ color: oklch(86.4% 0.155 107.6);
Tailwind
colors: {
  custom: {
    50: '#ebe488',
    500: '#ddd951',
    950: '#000000',
  },
}
SCSS
$custom: #ddd951;
$custom-light: #ebe488;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd951",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 58.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86371,
    "c": 0.15457,
    "h": 107.6
  },
  "luminance": 0.65592
}

Semantic roles & 50–950 ramp

primary
#DDD951
secondary
#383A9B
accent
#43EA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD951

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

Preview Lab → · Contrast checker → · Palette generator →

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