#DDD152#DDD152

#DDD152 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.7% C 0.146 H 103.9°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#DDD152
RGBrgb(221, 209, 82)
HSLhsl(55, 67%, 59%)
HSVhsv(55, 63%, 87%)
CMYKcmyk(0%, 5.4%, 62.9%, 13.3%)
CIE-LABlab(82.69, -10.91, 62.43)
CIE-LCHlch(82.69, 63.38, 99.91°)
OKLaboklab(84.7% -0.0352 0.1419)
OKLCHoklch(84.7% 0.146 103.9)
XYZxyz(54.1443, 61.5843, 17.0159)
Luminance0.6158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD152 #525EDD
analogous
#DD8C52 #DDD152 #A4DD52
triadic
#DDD152 #52DDD1 #D152DD
tetradic
#DDD152 #52DD8C #525EDD #DD52A4
square
#DDD152 #52DD8C #525EDD #DD52A4
split-complementary
#DDD152 #52A4DD #8C52DD
monochromatic
#978C1E #CABC28 #DDD152 #E7DF85 #F1ECB8

Accessibility & contrast

On white

1.58
#DDD152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#DDD152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD152
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD152#FFFFFF#000000##000000
##DDD1521.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA42
Deuteranopia (green-blind)
#E6D159
Tritanopia (blue-blind)
#EDC4B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ddd152;
/* rgb */ color: rgb(221, 209, 82);
/* oklch */ color: oklch(84.7% 0.146 103.9);
Tailwind
colors: {
  custom: {
    50: '#ebde88',
    500: '#ddd152',
    950: '#000000',
  },
}
SCSS
$custom: #ddd152;
$custom-light: #ebde88;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd152",
  "rgb": {
    "r": 221,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 54.82,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84704,
    "c": 0.1462,
    "h": 103.9
  },
  "luminance": 0.61582
}

Semantic roles & 50–950 ramp

primary
#DDD152
secondary
#38419B
accent
#4DEA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD152

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

Preview Lab → · Contrast checker → · Palette generator →

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