#DCD457#DCD457

#DCD457 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.3% C 0.145 H 105.6°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#DCD457
RGBrgb(220, 212, 87)
HSLhsl(56, 66%, 60%)
HSVhsv(56, 60%, 86%)
CMYKcmyk(0%, 3.6%, 60.5%, 13.7%)
CIE-LABlab(83.44, -12.51, 61.10)
CIE-LCHlch(83.44, 62.37, 101.57°)
OKLaboklab(85.29% -0.0391 0.1398)
OKLCHoklch(85.29% 0.145 105.6)
XYZxyz(54.7809, 62.9926, 18.2881)
Luminance0.6299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD457 #575FDC
analogous
#DC9157 #DCD457 #A1DC57
triadic
#DCD457 #57DCD4 #D457DC
tetradic
#DCD457 #57DC91 #575FDC #DC57A1
square
#DCD457 #57DC91 #575FDC #DC57A1
split-complementary
#DCD457 #57A1DC #9157DC
monochromatic
#999120 #CBC22A #DCD457 #E7E18A #F1EEBC

Accessibility & contrast

On white

1.54
#DCD457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#DCD457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD457
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD457#FFFFFF#000000##000000
##DCD4571.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD49
Deuteranopia (green-blind)
#E8D25E
Tritanopia (blue-blind)
#EBC7B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd457;
/* rgb */ color: rgb(220, 212, 87);
/* oklch */ color: oklch(85.3% 0.145 105.6);
Tailwind
colors: {
  custom: {
    50: '#eae18b',
    500: '#dcd457',
    950: '#000000',
  },
}
SCSS
$custom: #dcd457;
$custom-light: #eae18b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd457",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 56.391,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85291,
    "c": 0.14518,
    "h": 105.6
  },
  "luminance": 0.62991
}

Semantic roles & 50–950 ramp

primary
#DCD457
secondary
#3A409D
accent
#23CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD457

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

Preview Lab → · Contrast checker → · Palette generator →

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