#DDDD52#DDDD52

#DDDD52 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.2% C 0.158 H 109.3°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#DDDD52
RGBrgb(221, 221, 82)
HSLhsl(60, 67%, 59%)
HSVhsv(60, 63%, 87%)
CMYKcmyk(0%, 0%, 62.9%, 13.3%)
CIE-LABlab(85.85, -16.89, 65.77)
CIE-LCHlch(85.85, 67.91, 104.40°)
OKLaboklab(87.22% -0.0521 0.149)
OKLCHoklch(87.22% 0.158 109.3)
XYZxyz(57.2001, 67.6959, 18.0345)
Luminance0.6769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDDD52 #5252DD
analogous
#DD9852 #DDDD52 #98DD52
triadic
#DDDD52 #52DDDD #DD52DD
tetradic
#DDDD52 #52DD98 #5252DD #DD5298
square
#DDDD52 #52DD98 #5252DD #DD5298
split-complementary
#DDDD52 #5298DD #9852DD
monochromatic
#97971E #CACA28 #DDDD52 #E7E785 #F1F1B8

Accessibility & contrast

On white

1.44
#DDDD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#DDDD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDDD52
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDDD52#FFFFFF#000000##000000
##DDDD521.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#ECD0C0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dddd52;
/* rgb */ color: rgb(221, 221, 82);
/* oklch */ color: oklch(87.2% 0.158 109.3);
Tailwind
colors: {
  custom: {
    50: '#ebe789',
    500: '#dddd52',
    950: '#000000',
  },
}
SCSS
$custom: #dddd52;
$custom-light: #ebe789;
$custom-dark: #000000;
JSON
{
  "hex": "#dddd52",
  "rgb": {
    "r": 221,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.87223,
    "c": 0.15782,
    "h": 109.3
  },
  "luminance": 0.67694
}

Semantic roles & 50–950 ramp

primary
#DDDD52
secondary
#38389B
accent
#3EEA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DDDD52

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

Preview Lab → · Contrast checker → · Palette generator →

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