#DCD857#DCD857

#DCD857 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.1% C 0.149 H 107.5°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#DCD857
RGBrgb(220, 216, 87)
HSLhsl(58, 66%, 60%)
HSVhsv(58, 60%, 86%)
CMYKcmyk(0%, 1.8%, 60.5%, 13.7%)
CIE-LABlab(84.49, -14.51, 62.24)
CIE-LCHlch(84.49, 63.91, 103.12°)
OKLaboklab(86.13% -0.0448 0.1422)
OKLCHoklch(86.13% 0.149 107.5)
XYZxyz(55.7932, 65.0172, 18.6256)
Luminance0.6502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD857 #575BDC
analogous
#DC9557 #DCD857 #9EDC57
triadic
#DCD857 #57DCD8 #D857DC
tetradic
#DCD857 #57DC95 #575BDC #DC579E
square
#DCD857 #57DC95 #575BDC #DC579E
split-complementary
#DCD857 #579EDC #9557DC
monochromatic
#999520 #CBC72A #DCD857 #E7E48A #F1F0BC

Accessibility & contrast

On white

1.50
#DCD857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#DCD857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD857
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD857#FFFFFF#000000##000000
##DCD8571.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D048
Deuteranopia (green-blind)
#EBD55F
Tritanopia (blue-blind)
#EBCBBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd857;
/* rgb */ color: rgb(220, 216, 87);
/* oklch */ color: oklch(86.1% 0.149 107.5);
Tailwind
colors: {
  custom: {
    50: '#eae38c',
    500: '#dcd857',
    950: '#000000',
  },
}
SCSS
$custom: #dcd857;
$custom-light: #eae38c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd857",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 58.195,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86131,
    "c": 0.14911,
    "h": 107.5
  },
  "luminance": 0.65015
}

Semantic roles & 50–950 ramp

primary
#DCD857
secondary
#3A3D9D
accent
#1ECD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD857

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

Preview Lab → · Contrast checker → · Palette generator →

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