#DDC862#DDC862

#DDC862 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.125 H 97.9°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#DDC862
RGBrgb(221, 200, 98)
HSLhsl(50, 64%, 63%)
HSVhsv(50, 56%, 87%)
CMYKcmyk(0%, 9.5%, 55.7%, 13.3%)
CIE-LABlab(80.50, -5.22, 52.89)
CIE-LCHlch(80.50, 53.15, 95.64°)
OKLaboklab(83.01% -0.0171 0.1236)
OKLCHoklch(83.01% 0.125 97.9)
XYZxyz(52.6796, 57.5648, 19.8891)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC862 #6277DD
analogous
#DD8A62 #DDC862 #B5DD62
triadic
#DDC862 #62DDC8 #C862DD
tetradic
#DDC862 #62DD8A #6277DD #DD62B5
square
#DDC862 #62DD8A #6277DD #DD62B5
split-complementary
#DDC862 #62B5DD #8A62DD
monochromatic
#A28C23 #D2B630 #DDC862 #E8DA94 #F3EBC7

Accessibility & contrast

On white

1.68
#DDC862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#DDC862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC862
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC862#FFFFFF#000000##000000
##DDC8621.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C458
Deuteranopia (green-blind)
#DFCB67
Tritanopia (blue-blind)
#ECBBB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc862;
/* rgb */ color: rgb(221, 200, 98);
/* oklch */ color: oklch(83.0% 0.125 97.9);
Tailwind
colors: {
  custom: {
    50: '#ead892',
    500: '#ddc862',
    950: '#000000',
  },
}
SCSS
$custom: #ddc862;
$custom-light: #ead892;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc862",
  "rgb": {
    "r": 221,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 49.756,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8301,
    "c": 0.12474,
    "h": 97.9
  },
  "luminance": 0.57563
}

Semantic roles & 50–950 ramp

primary
#DDC862
secondary
#3E50A5
accent
#38CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DDC862

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

Preview Lab → · Contrast checker → · Palette generator →

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