#DDD952#DDD952

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

Color values

HEX#DDD952
RGBrgb(221, 217, 82)
HSLhsl(58, 67%, 59%)
HSVhsv(58, 63%, 87%)
CMYKcmyk(0%, 1.8%, 62.9%, 13.3%)
CIE-LABlab(84.80, -14.91, 64.66)
CIE-LCHlch(84.80, 66.36, 102.99°)
OKLaboklab(86.38% -0.0465 0.1466)
OKLCHoklch(86.38% 0.154 107.6)
XYZxyz(56.1565, 65.6088, 17.6866)
Luminance0.6561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD952 #5256DD
analogous
#DD9352 #DDD952 #9CDD52
triadic
#DDD952 #52DDD9 #D952DD
tetradic
#DDD952 #52DD93 #5256DD #DD529C
square
#DDD952 #52DD93 #5256DD #DD529C
split-complementary
#DDD952 #529CDD #9352DD
monochromatic
#97931E #CAC528 #DDD952 #E7E485 #F1EFB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDD952#FFFFFF#000000##000000
##DDD9521.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)
#EAD141
Deuteranopia (green-blind)
#EDD65A
Tritanopia (blue-blind)
#ECCCBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ddd952;
/* rgb */ color: rgb(221, 217, 82);
/* oklch */ color: oklch(86.4% 0.154 107.6);
Tailwind
colors: {
  custom: {
    50: '#ebe489',
    500: '#ddd952',
    950: '#000000',
  },
}
SCSS
$custom: #ddd952;
$custom-light: #ebe489;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd952",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 58.273,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8638,
    "c": 0.15383,
    "h": 107.6
  },
  "luminance": 0.65607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDD952

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

Preview Lab → · Contrast checker → · Palette generator →

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