#DDC662#DDC662

#DDC662 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.6% C 0.123 H 96.6°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#DDC662
RGBrgb(221, 198, 98)
HSLhsl(49, 64%, 63%)
HSVhsv(49, 56%, 87%)
CMYKcmyk(0%, 10.4%, 55.7%, 13.3%)
CIE-LABlab(79.98, -4.19, 52.29)
CIE-LCHlch(79.98, 52.46, 94.58°)
OKLaboklab(82.6% -0.0141 0.1223)
OKLCHoklch(82.6% 0.123 96.6)
XYZxyz(52.2194, 56.6444, 19.7358)
Luminance0.5664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC662 #6279DD
analogous
#DD8862 #DDC662 #B7DD62
triadic
#DDC662 #62DDC6 #C662DD
tetradic
#DDC662 #62DD88 #6279DD #DD62B7
square
#DDC662 #62DD88 #6279DD #DD62B7
split-complementary
#DDC662 #62B7DD #8862DD
monochromatic
#A28A23 #D2B430 #DDC662 #E8D894 #F3EBC7

Accessibility & contrast

On white

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

On black

12.33
#DDC662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC662
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC662#FFFFFF#000000##000000
##DDC6621.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#DDCA66
Tritanopia (blue-blind)
#ECB9AF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ddc662;
/* rgb */ color: rgb(221, 198, 98);
/* oklch */ color: oklch(82.6% 0.123 96.6);
Tailwind
colors: {
  custom: {
    50: '#ead791',
    500: '#ddc662',
    950: '#000000',
  },
}
SCSS
$custom: #ddc662;
$custom-light: #ead791;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc662",
  "rgb": {
    "r": 221,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 48.78,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.826,
    "c": 0.12309,
    "h": 96.6
  },
  "luminance": 0.56642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDC662

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

Preview Lab → · Contrast checker → · Palette generator →

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