#DDC952#DDC952

#DDC952 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.139 H 99.8°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#DDC952
RGBrgb(221, 201, 82)
HSLhsl(51, 67%, 59%)
HSVhsv(51, 63%, 87%)
CMYKcmyk(0%, 9%, 62.9%, 13.3%)
CIE-LABlab(80.60, -6.85, 60.19)
CIE-LCHlch(80.60, 60.58, 96.49°)
OKLaboklab(83.05% -0.0236 0.1372)
OKLCHoklch(83.05% 0.139 99.8)
XYZxyz(52.2306, 57.7569, 16.3780)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC952 #5266DD
analogous
#DD8452 #DDC952 #ACDD52
triadic
#DDC952 #52DDC9 #C952DD
tetradic
#DDC952 #52DD84 #5266DD #DD52AC
square
#DDC952 #52DD84 #5266DD #DD52AC
split-complementary
#DDC952 #52ACDD #8452DD
monochromatic
#97851E #CAB328 #DDC952 #E7D985 #F1E9B8

Accessibility & contrast

On white

1.67
#DDC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#DDC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC952
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC952#FFFFFF#000000##000000
##DDC9521.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#EDBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc952;
/* rgb */ color: rgb(221, 201, 82);
/* oklch */ color: oklch(83.0% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#ebd988',
    500: '#ddc952',
    950: '#000000',
  },
}
SCSS
$custom: #ddc952;
$custom-light: #ebd988;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc952",
  "rgb": {
    "r": 221,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 51.367,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83046,
    "c": 0.13918,
    "h": 99.8
  },
  "luminance": 0.57755
}

Semantic roles & 50–950 ramp

primary
#DDC952
secondary
#38469B
accent
#57EA3E
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC952

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

Preview Lab → · Contrast checker → · Palette generator →

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