#DDC159#DDC159

#DDC159 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.127 H 94.3°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#DDC159
RGBrgb(221, 193, 89)
HSLhsl(47, 66%, 61%)
HSVhsv(47, 60%, 87%)
CMYKcmyk(0%, 12.7%, 59.7%, 13.3%)
CIE-LABlab(78.60, -2.27, 54.89)
CIE-LCHlch(78.60, 54.93, 92.37°)
OKLaboklab(81.48% -0.0096 0.1268)
OKLCHoklch(81.48% 0.127 94.3)
XYZxyz(50.6941, 54.2358, 17.2476)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC159 #5975DD
analogous
#DD7F59 #DDC159 #B7DD59
triadic
#DDC159 #59DDC1 #C159DD
tetradic
#DDC159 #59DD7F #5975DD #DD59B7
square
#DDC159 #59DD7F #5975DD #DD59B7
split-complementary
#DDC159 #59B7DD #7F59DD
monochromatic
#9C8120 #CFAC2A #DDC159 #E7D48C #F2E7BF

Accessibility & contrast

On white

1.77
#DDC159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#DDC159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC159
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC159#FFFFFF#000000##000000
##DDC1591.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4E
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#EDB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ddc159;
/* rgb */ color: rgb(221, 193, 89);
/* oklch */ color: oklch(81.5% 0.127 94.3);
Tailwind
colors: {
  custom: {
    50: '#ebd38b',
    500: '#ddc159',
    950: '#000000',
  },
}
SCSS
$custom: #ddc159;
$custom-light: #ebd38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc159",
  "rgb": {
    "r": 221,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 47.273,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81479,
    "c": 0.12717,
    "h": 94.3
  },
  "luminance": 0.54233
}

Semantic roles & 50–950 ramp

primary
#DDC159
secondary
#3B50A0
accent
#3ECE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC159

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

Preview Lab → · Contrast checker → · Palette generator →

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