#DCD757#DCD757

#DCD757 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.9% C 0.148 H 107.0°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#DCD757
RGBrgb(220, 215, 87)
HSLhsl(58, 66%, 60%)
HSVhsv(58, 60%, 86%)
CMYKcmyk(0%, 2.3%, 60.5%, 13.7%)
CIE-LABlab(84.23, -14.01, 61.95)
CIE-LCHlch(84.23, 63.52, 102.74°)
OKLaboklab(85.92% -0.0434 0.1416)
OKLCHoklch(85.92% 0.148 107)
XYZxyz(55.5378, 64.5064, 18.5404)
Luminance0.6451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD757 #575CDC
analogous
#DC9457 #DCD757 #9FDC57
triadic
#DCD757 #57DCD7 #D757DC
tetradic
#DCD757 #57DC94 #575CDC #DC579F
square
#DCD757 #57DC94 #575CDC #DC579F
split-complementary
#DCD757 #579FDC #9457DC
monochromatic
#999420 #CBC52A #DCD757 #E7E38A #F1EFBC

Accessibility & contrast

On white

1.51
#DCD757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#DCD757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD757
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD757#FFFFFF#000000##000000
##DCD7571.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF48
Deuteranopia (green-blind)
#EAD55E
Tritanopia (blue-blind)
#EBCABC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd757;
/* rgb */ color: rgb(220, 215, 87);
/* oklch */ color: oklch(85.9% 0.148 107.0);
Tailwind
colors: {
  custom: {
    50: '#eae38c',
    500: '#dcd757',
    950: '#000000',
  },
}
SCSS
$custom: #dcd757;
$custom-light: #eae38c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd757",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 57.744,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85921,
    "c": 0.14812,
    "h": 107
  },
  "luminance": 0.64505
}

Semantic roles & 50–950 ramp

primary
#DCD757
secondary
#3A3E9D
accent
#1FCD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD757

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

Preview Lab → · Contrast checker → · Palette generator →

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