#DDC752#DDC752

#DDC752 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.138 H 98.6°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#DDC752
RGBrgb(221, 199, 82)
HSLhsl(51, 67%, 59%)
HSVhsv(51, 63%, 87%)
CMYKcmyk(0%, 10%, 62.9%, 13.3%)
CIE-LABlab(80.08, -5.83, 59.63)
CIE-LCHlch(80.08, 59.92, 95.58°)
OKLaboklab(82.63% -0.0207 0.136)
OKLCHoklch(82.63% 0.138 98.6)
XYZxyz(51.7674, 56.8305, 16.2236)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC752 #5268DD
analogous
#DD8252 #DDC752 #ADDD52
triadic
#DDC752 #52DDC7 #C752DD
tetradic
#DDC752 #52DD82 #5268DD #DD52AD
square
#DDC752 #52DD82 #5268DD #DD52AD
split-complementary
#DDC752 #52ADDD #8252DD
monochromatic
#97841E #CAB028 #DDC752 #E7D885 #F1E8B8

Accessibility & contrast

On white

1.70
#DDC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#DDC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC752
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC752#FFFFFF#000000##000000
##DDC7521.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#EDB9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ddc752;
/* rgb */ color: rgb(221, 199, 82);
/* oklch */ color: oklch(82.6% 0.138 98.6);
Tailwind
colors: {
  custom: {
    50: '#ebd787',
    500: '#ddc752',
    950: '#000000',
  },
}
SCSS
$custom: #ddc752;
$custom-light: #ebd787;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc752",
  "rgb": {
    "r": 221,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 50.504,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82634,
    "c": 0.13754,
    "h": 98.6
  },
  "luminance": 0.56828
}

Semantic roles & 50–950 ramp

primary
#DDC752
secondary
#38489B
accent
#59EA3E
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC752

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

Preview Lab → · Contrast checker → · Palette generator →

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