#DDC962#DDC962

#DDC962 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.126 H 98.5°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#DDC962
RGBrgb(221, 201, 98)
HSLhsl(50, 64%, 63%)
HSVhsv(50, 56%, 87%)
CMYKcmyk(0%, 9%, 55.7%, 13.3%)
CIE-LABlab(80.76, -5.73, 53.19)
CIE-LCHlch(80.76, 53.50, 96.15°)
OKLaboklab(83.21% -0.0185 0.1242)
OKLCHoklch(83.21% 0.126 98.5)
XYZxyz(52.9120, 58.0295, 19.9666)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC962 #6276DD
analogous
#DD8C62 #DDC962 #B3DD62
triadic
#DDC962 #62DDC9 #C962DD
tetradic
#DDC962 #62DD8C #6276DD #DD62B3
square
#DDC962 #62DD8C #6276DD #DD62B3
split-complementary
#DDC962 #62B3DD #8C62DD
monochromatic
#A28D23 #D2B830 #DDC962 #E8DA94 #F3ECC7

Accessibility & contrast

On white

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

On black

12.61
#DDC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC962
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC962#FFFFFF#000000##000000
##DDC9621.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#DFCC67
Tritanopia (blue-blind)
#ECBCB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc962;
/* rgb */ color: rgb(221, 201, 98);
/* oklch */ color: oklch(83.2% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#ead992',
    500: '#ddc962',
    950: '#000000',
  },
}
SCSS
$custom: #ddc962;
$custom-light: #ead992;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc962",
  "rgb": {
    "r": 221,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 50.244,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83215,
    "c": 0.1256,
    "h": 98.5
  },
  "luminance": 0.58027
}

Semantic roles & 50–950 ramp

primary
#DDC962
secondary
#3E4FA5
accent
#36CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DDC962

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

Preview Lab → · Contrast checker → · Palette generator →

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