#DDC562#DDC562

#DDC562 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.4% C 0.122 H 95.9°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#DDC562
RGBrgb(221, 197, 98)
HSLhsl(48, 64%, 63%)
HSVhsv(48, 56%, 87%)
CMYKcmyk(0%, 10.9%, 55.7%, 13.3%)
CIE-LABlab(79.72, -3.67, 52.00)
CIE-LCHlch(79.72, 52.13, 94.04°)
OKLaboklab(82.4% -0.0126 0.1216)
OKLCHoklch(82.4% 0.122 95.9)
XYZxyz(51.9916, 56.1888, 19.6598)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC562 #627ADD
analogous
#DD8862 #DDC562 #B7DD62
triadic
#DDC562 #62DDC5 #C562DD
tetradic
#DDC562 #62DD88 #627ADD #DD62B7
square
#DDC562 #62DD88 #627ADD #DD62B7
split-complementary
#DDC562 #62B7DD #8862DD
monochromatic
#A28923 #D2B230 #DDC562 #E8D894 #F3EAC7

Accessibility & contrast

On white

1.72
#DDC562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#DDC562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC562
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC562#FFFFFF#000000##000000
##DDC5621.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#DCC966
Tritanopia (blue-blind)
#EDB8AF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ddc562;
/* rgb */ color: rgb(221, 197, 98);
/* oklch */ color: oklch(82.4% 0.122 95.9);
Tailwind
colors: {
  custom: {
    50: '#ead691',
    500: '#ddc562',
    950: '#000000',
  },
}
SCSS
$custom: #ddc562;
$custom-light: #ead691;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc562",
  "rgb": {
    "r": 221,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 48.293,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82396,
    "c": 0.12228,
    "h": 95.9
  },
  "luminance": 0.56186
}

Semantic roles & 50–950 ramp

primary
#DDC562
secondary
#3E52A5
accent
#3CCC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DDC562

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

Preview Lab → · Contrast checker → · Palette generator →

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