#DCD257#DCD257

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

Color values

HEX#DCD257
RGBrgb(220, 210, 87)
HSLhsl(55, 66%, 60%)
HSVhsv(55, 60%, 86%)
CMYKcmyk(0%, 4.5%, 60.5%, 13.7%)
CIE-LABlab(82.91, -11.51, 60.52)
CIE-LCHlch(82.91, 61.61, 100.77°)
OKLaboklab(84.87% -0.0362 0.1386)
OKLCHoklch(84.87% 0.143 104.7)
XYZxyz(54.2840, 61.9988, 18.1225)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD257 #5761DC
analogous
#DC9057 #DCD257 #A3DC57
triadic
#DCD257 #57DCD2 #D257DC
tetradic
#DCD257 #57DC90 #5761DC #DC57A3
square
#DCD257 #57DC90 #5761DC #DC57A3
split-complementary
#DCD257 #57A3DC #9057DC
monochromatic
#999020 #CBBF2A #DCD257 #E7E08A #F1EDBC

Accessibility & contrast

On white

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

On black

13.40
#DCD257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD257
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD257#FFFFFF#000000##000000
##DCD2571.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd257;
/* rgb */ color: rgb(220, 210, 87);
/* oklch */ color: oklch(84.9% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#eadf8b',
    500: '#dcd257',
    950: '#000000',
  },
}
SCSS
$custom: #dcd257;
$custom-light: #eadf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd257",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 55.489,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84873,
    "c": 0.14325,
    "h": 104.7
  },
  "luminance": 0.61997
}

Semantic roles & 50–950 ramp

primary
#DCD257
secondary
#3A429D
accent
#26CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD257

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

Preview Lab → · Contrast checker → · Palette generator →

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