#DDD252#DDD252

#DDD252 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.9% C 0.147 H 104.4°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#DDD252
RGBrgb(221, 210, 82)
HSLhsl(55, 67%, 59%)
HSVhsv(55, 63%, 87%)
CMYKcmyk(0%, 5%, 62.9%, 13.3%)
CIE-LABlab(82.95, -11.41, 62.71)
CIE-LCHlch(82.95, 63.74, 100.32°)
OKLaboklab(84.91% -0.0366 0.1425)
OKLCHoklch(84.91% 0.147 104.4)
XYZxyz(54.3904, 62.0765, 17.0979)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD252 #525DDD
analogous
#DD8D52 #DDD252 #A3DD52
triadic
#DDD252 #52DDD2 #D252DD
tetradic
#DDD252 #52DD8D #525DDD #DD52A3
square
#DDD252 #52DD8D #525DDD #DD52A3
split-complementary
#DDD252 #52A3DD #8D52DD
monochromatic
#978D1E #CABD28 #DDD252 #E7DF85 #F1EDB8

Accessibility & contrast

On white

1.57
#DDD252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#DDD252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD252
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD252#FFFFFF#000000##000000
##DDD2521.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#EDC5B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ddd252;
/* rgb */ color: rgb(221, 210, 82);
/* oklch */ color: oklch(84.9% 0.147 104.4);
Tailwind
colors: {
  custom: {
    50: '#ebdf88',
    500: '#ddd252',
    950: '#000000',
  },
}
SCSS
$custom: #ddd252;
$custom-light: #ebdf88;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd252",
  "rgb": {
    "r": 221,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 55.252,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84913,
    "c": 0.14713,
    "h": 104.4
  },
  "luminance": 0.62075
}

Semantic roles & 50–950 ramp

primary
#DDD252
secondary
#38409B
accent
#4BEA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD252

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

Preview Lab → · Contrast checker → · Palette generator →

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