#DCD159#DCD159

#DCD159 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.7% C 0.141 H 104.1°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#DCD159
RGBrgb(220, 209, 89)
HSLhsl(55, 65%, 61%)
HSVhsv(55, 60%, 86%)
CMYKcmyk(0%, 5%, 59.5%, 13.7%)
CIE-LABlab(82.67, -10.87, 59.39)
CIE-LCHlch(82.67, 60.38, 100.37°)
OKLaboklab(84.68% -0.0342 0.1364)
OKLCHoklch(84.68% 0.141 104.1)
XYZxyz(54.1207, 61.5398, 18.4768)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD159 #5964DC
analogous
#DC8F59 #DCD159 #A5DC59
triadic
#DCD159 #59DCD1 #D159DC
tetradic
#DCD159 #59DC8F #5964DC #DC59A5
square
#DCD159 #59DC8F #5964DC #DC59A5
split-complementary
#DCD159 #59A5DC #8F59DC
monochromatic
#9A9020 #CDBF2B #DCD159 #E7DF8C #F1EDBE

Accessibility & contrast

On white

1.58
#DCD159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#DCD159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD159
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD159#FFFFFF#000000##000000
##DCD1591.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4C
Deuteranopia (green-blind)
#E6D060
Tritanopia (blue-blind)
#EBC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd159;
/* rgb */ color: rgb(220, 209, 89);
/* oklch */ color: oklch(84.7% 0.141 104.1);
Tailwind
colors: {
  custom: {
    50: '#eade8c',
    500: '#dcd159',
    950: '#000000',
  },
}
SCSS
$custom: #dcd159;
$custom-light: #eade8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd159",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 54.962,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84684,
    "c": 0.14067,
    "h": 104.1
  },
  "luminance": 0.61538
}

Semantic roles & 50–950 ramp

primary
#DCD159
secondary
#3B439E
accent
#28CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DCD159

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

Preview Lab → · Contrast checker → · Palette generator →

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