#DCD259#DCD259

#DCD259 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.9% C 0.142 H 104.6°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#DCD259
RGBrgb(220, 210, 89)
HSLhsl(55, 65%, 61%)
HSVhsv(55, 60%, 86%)
CMYKcmyk(0%, 4.5%, 59.5%, 13.7%)
CIE-LABlab(82.93, -11.37, 59.68)
CIE-LCHlch(82.93, 60.75, 100.79°)
OKLaboklab(84.89% -0.0356 0.1371)
OKLCHoklch(84.89% 0.142 104.6)
XYZxyz(54.3668, 62.0320, 18.5588)
Luminance0.6203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD259 #5963DC
analogous
#DC9059 #DCD259 #A4DC59
triadic
#DCD259 #59DCD2 #D259DC
tetradic
#DCD259 #59DC90 #5963DC #DC59A4
square
#DCD259 #59DC90 #5963DC #DC59A4
split-complementary
#DCD259 #59A4DC #9059DC
monochromatic
#9A9120 #CDC02B #DCD259 #E7E08C #F1EDBE

Accessibility & contrast

On white

1.57
#DCD259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#DCD259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD259
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD259#FFFFFF#000000##000000
##DCD2591.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4B
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#EBC5B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd259;
/* rgb */ color: rgb(220, 210, 89);
/* oklch */ color: oklch(84.9% 0.142 104.6);
Tailwind
colors: {
  custom: {
    50: '#eadf8c',
    500: '#dcd259',
    950: '#000000',
  },
}
SCSS
$custom: #dcd259;
$custom-light: #eadf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd259",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 55.42,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84893,
    "c": 0.14162,
    "h": 104.6
  },
  "luminance": 0.6203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD259

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

Preview Lab → · Contrast checker → · Palette generator →

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