#DDC652#DDC652

#DDC652 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.137 H 98.1°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#DDC652
RGBrgb(221, 198, 82)
HSLhsl(50, 67%, 59%)
HSVhsv(50, 63%, 87%)
CMYKcmyk(0%, 10.4%, 62.9%, 13.3%)
CIE-LABlab(79.83, -5.31, 59.35)
CIE-LCHlch(79.83, 59.59, 95.12°)
OKLaboklab(82.43% -0.0192 0.1354)
OKLCHoklch(82.43% 0.137 98.1)
XYZxyz(51.5381, 56.3719, 16.1472)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC652 #5269DD
analogous
#DD8152 #DDC652 #AFDD52
triadic
#DDC652 #52DDC6 #C652DD
tetradic
#DDC652 #52DD81 #5269DD #DD52AF
square
#DDC652 #52DD81 #5269DD #DD52AF
split-complementary
#DDC652 #52AFDD #8152DD
monochromatic
#97831E #CAAF28 #DDC652 #E7D785 #F1E8B8

Accessibility & contrast

On white

1.71
#DDC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#DDC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC652
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC652#FFFFFF#000000##000000
##DDC6521.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C145
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#EDB8AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ddc652;
/* rgb */ color: rgb(221, 198, 82);
/* oklch */ color: oklch(82.4% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#ebd787',
    500: '#ddc652',
    950: '#000000',
  },
}
SCSS
$custom: #ddc652;
$custom-light: #ebd787;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc652",
  "rgb": {
    "r": 221,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 50.072,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82429,
    "c": 0.13674,
    "h": 98.1
  },
  "luminance": 0.5637
}

Semantic roles & 50–950 ramp

primary
#DDC652
secondary
#38489B
accent
#5AEA3E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC652

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

Preview Lab → · Contrast checker → · Palette generator →

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