#DDD962#DDD962

#DDD962 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.5% C 0.141 H 107.2°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DDD962
RGBrgb(221, 217, 98)
HSLhsl(58, 64%, 63%)
HSVhsv(58, 56%, 87%)
CMYKcmyk(0%, 1.8%, 55.7%, 13.3%)
CIE-LABlab(84.94, -13.82, 57.97)
CIE-LCHlch(84.94, 59.60, 103.41°)
OKLaboklab(86.54% -0.0417 0.1345)
OKLCHoklch(86.54% 0.141 107.2)
XYZxyz(56.8379, 65.8814, 21.2752)
Luminance0.6588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD962 #6266DD
analogous
#DD9C62 #DDD962 #A3DD62
triadic
#DDD962 #62DDD9 #D962DD
tetradic
#DDD962 #62DD9C #6266DD #DD62A3
square
#DDD962 #62DD9C #6266DD #DD62A3
split-complementary
#DDD962 #62A3DD #9C62DD
monochromatic
#A29D23 #D2CD30 #DDD962 #E8E594 #F3F1C7

Accessibility & contrast

On white

1.48
#DDD962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#DDD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD962
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD962#FFFFFF#000000##000000
##DDD9621.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#ECD668
Tritanopia (blue-blind)
#EBCDBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ddd962;
/* rgb */ color: rgb(221, 217, 98);
/* oklch */ color: oklch(86.5% 0.141 107.2);
Tailwind
colors: {
  custom: {
    50: '#eae492',
    500: '#ddd962',
    950: '#000000',
  },
}
SCSS
$custom: #ddd962;
$custom-light: #eae492;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd962",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 58.049,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86535,
    "c": 0.14081,
    "h": 107.2
  },
  "luminance": 0.6588
}

Semantic roles & 50–950 ramp

primary
#DDD962
secondary
#3E42A5
accent
#1FCC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DDD962

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

Preview Lab → · Contrast checker → · Palette generator →

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