#DDDF52#DDDF52

#DDDF52 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.6% C 0.160 H 110.1°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#DDDF52
RGBrgb(221, 223, 82)
HSLhsl(61, 69%, 60%)
HSVhsv(61, 63%, 87%)
CMYKcmyk(0.9%, 0%, 63.2%, 12.5%)
CIE-LABlab(86.38, -17.87, 66.33)
CIE-LCHlch(86.38, 68.69, 105.08°)
OKLaboklab(87.65% -0.0548 0.1502)
OKLCHoklch(87.65% 0.16 110.1)
XYZxyz(57.7312, 68.7582, 18.2116)
Luminance0.6876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDDF52 #5452DF
analogous
#DF9B52 #DDDF52 #97DF52
triadic
#DDDF52 #52DDDF #DF52DD
tetradic
#DDDF52 #52DF9B #5452DF #DF5297
square
#DDDF52 #52DF9B #5452DF #DF5297
split-complementary
#DDDF52 #5297DF #9B52DF
monochromatic
#989A1D #CBCE26 #DDDF52 #E7E986 #F1F2B9

Accessibility & contrast

On white

1.42
#DDDF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#DDDF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDDF52
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDDF52#FFFFFF#000000##000000
##DDDF521.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#ECD2C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dddf52;
/* rgb */ color: rgb(221, 223, 82);
/* oklch */ color: oklch(87.6% 0.160 110.1);
Tailwind
colors: {
  custom: {
    50: '#ebe889',
    500: '#dddf52',
    950: '#000000',
  },
}
SCSS
$custom: #dddf52;
$custom-light: #ebe889;
$custom-dark: #000000;
JSON
{
  "hex": "#dddf52",
  "rgb": {
    "r": 221,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 60.851,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87646,
    "c": 0.15985,
    "h": 110.1
  },
  "luminance": 0.68757
}

Semantic roles & 50–950 ramp

primary
#DDDF52
secondary
#39379E
accent
#3CEC3F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DDDF52

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

Preview Lab → · Contrast checker → · Palette generator →

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