#DDD462#DDD462

#DDD462 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.5% C 0.136 H 104.8°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#DDD462
RGBrgb(221, 212, 98)
HSLhsl(56, 64%, 63%)
HSVhsv(56, 56%, 87%)
CMYKcmyk(0%, 4.1%, 55.7%, 13.3%)
CIE-LABlab(83.62, -11.32, 56.48)
CIE-LCHlch(83.62, 57.60, 101.33°)
OKLaboklab(85.49% -0.0346 0.1313)
OKLCHoklch(85.49% 0.136 104.8)
XYZxyz(55.5686, 63.3428, 20.8521)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD462 #626BDD
analogous
#DD9762 #DDD462 #A8DD62
triadic
#DDD462 #62DDD4 #D462DD
tetradic
#DDD462 #62DD97 #626BDD #DD62A8
square
#DDD462 #62DD97 #626BDD #DD62A8
split-complementary
#DDD462 #62A8DD #9762DD
monochromatic
#A29823 #D2C630 #DDD462 #E8E294 #F3F0C7

Accessibility & contrast

On white

1.54
#DDD462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#DDD462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD462
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD462#FFFFFF#000000##000000
##DDD4621.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E8D368
Tritanopia (blue-blind)
#ECC7BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ddd462;
/* rgb */ color: rgb(221, 212, 98);
/* oklch */ color: oklch(85.5% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#eae192',
    500: '#ddd462',
    950: '#000000',
  },
}
SCSS
$custom: #ddd462;
$custom-light: #eae192;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd462",
  "rgb": {
    "r": 221,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 55.61,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8549,
    "c": 0.13577,
    "h": 104.8
  },
  "luminance": 0.63341
}

Semantic roles & 50–950 ramp

primary
#DDD462
secondary
#3E46A5
accent
#26CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DDD462

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

Preview Lab → · Contrast checker → · Palette generator →

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