#DCD54D#DCD54D

#DCD54D is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.4% C 0.154 H 106.4°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#DCD54D
RGBrgb(220, 213, 77)
HSLhsl(57, 67%, 58%)
HSVhsv(57, 65%, 86%)
CMYKcmyk(0%, 3.2%, 65%, 13.7%)
CIE-LABlab(83.62, -13.63, 65.42)
CIE-LCHlch(83.62, 66.83, 101.77°)
OKLaboklab(85.41% -0.0433 0.1475)
OKLCHoklch(85.41% 0.154 106.4)
XYZxyz(54.6510, 63.3418, 16.3671)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD54D #4D54DC
analogous
#DC8D4D #DCD54D #9BDC4D
triadic
#DCD54D #4DDCD5 #D54DDC
tetradic
#DCD54D #4DDC8D #4D54DC #DC4D9B
square
#DCD54D #4DDC8D #4D54DC #DC4D9B
split-complementary
#DCD54D #4D9BDC #8D4DDC
monochromatic
#928C1D #C5BD27 #DCD54D #E6E180 #F0EDB3

Accessibility & contrast

On white

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

On black

13.67
#DCD54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD54D
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD54D#FFFFFF#000000##000000
##DCD54D1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd54d;
/* rgb */ color: rgb(220, 213, 77);
/* oklch */ color: oklch(85.4% 0.154 106.4);
Tailwind
colors: {
  custom: {
    50: '#eae186',
    500: '#dcd54d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd54d;
$custom-light: #eae186;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd54d",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 57.063,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85412,
    "c": 0.15375,
    "h": 106.4
  },
  "luminance": 0.6334
}

Semantic roles & 50–950 ramp

primary
#DCD54D
secondary
#363B97
accent
#46EA3E
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD54D

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

Preview Lab → · Contrast checker → · Palette generator →

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