#DCD45D#DCD45D

#DCD45D is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.140 H 105.4°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#DCD45D
RGBrgb(220, 212, 93)
HSLhsl(56, 64%, 61%)
HSVhsv(56, 58%, 86%)
CMYKcmyk(0%, 3.6%, 57.7%, 13.7%)
CIE-LABlab(83.49, -12.10, 58.55)
CIE-LCHlch(83.49, 59.78, 101.67°)
OKLaboklab(85.35% -0.0373 0.1352)
OKLCHoklch(85.35% 0.14 105.4)
XYZxyz(55.0362, 63.0947, 19.6332)
Luminance0.6309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD45D #5D65DC
analogous
#DC955D #DCD45D #A5DC5D
triadic
#DCD45D #5DDCD4 #D45DDC
tetradic
#DCD45D #5DDC95 #5D65DC #DC5DA5
square
#DCD45D #5DDC95 #5D65DC #DC5DA5
split-complementary
#DCD45D #5DA5DC #955DDC
monochromatic
#9D9522 #CFC52D #DCD45D #E7E18F #F2EFC2

Accessibility & contrast

On white

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

On black

13.62
#DCD45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD45D
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD45D#FFFFFF#000000##000000
##DCD45D1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD50
Deuteranopia (green-blind)
#E8D363
Tritanopia (blue-blind)
#EBC7BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd45d;
/* rgb */ color: rgb(220, 212, 93);
/* oklch */ color: oklch(85.4% 0.140 105.4);
Tailwind
colors: {
  custom: {
    50: '#eae18f',
    500: '#dcd45d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd45d;
$custom-light: #eae18f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd45d",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 56.22,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85351,
    "c": 0.1402,
    "h": 105.4
  },
  "luminance": 0.63093
}

Semantic roles & 50–950 ramp

primary
#DCD45D
secondary
#3D43A1
accent
#25CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD45D

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

Preview Lab → · Contrast checker → · Palette generator →

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