#DCD54C#DCD54C

#DCD54C 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#DCD54C
RGBrgb(220, 213, 76)
HSLhsl(57, 67%, 58%)
HSVhsv(57, 65%, 86%)
CMYKcmyk(0%, 3.2%, 65.5%, 13.7%)
CIE-LABlab(83.61, -13.69, 65.81)
CIE-LCHlch(83.61, 67.22, 101.75°)
OKLaboklab(85.4% -0.0436 0.1482)
OKLCHoklch(85.4% 0.154 106.4)
XYZxyz(54.6160, 63.3278, 16.1826)
Luminance0.6333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD54C #4C53DC
analogous
#DC8D4C #DCD54C #9BDC4C
triadic
#DCD54C #4CDCD5 #D54CDC
tetradic
#DCD54C #4CDC8D #4C53DC #DC4C9B
square
#DCD54C #4CDC8D #4C53DC #DC4C9B
split-complementary
#DCD54C #4C9BDC #8D4CDC
monochromatic
#918C1C #C4BD26 #DCD54C #E6E17F #F0EDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD54C#FFFFFF#000000##000000
##DCD54C1.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)
#E6CD39
Deuteranopia (green-blind)
#EAD355
Tritanopia (blue-blind)
#EBC7B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd54c;
/* rgb */ color: rgb(220, 213, 76);
/* oklch */ color: oklch(85.4% 0.154 106.4);
Tailwind
colors: {
  custom: {
    50: '#eae185',
    500: '#dcd54c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd54c;
$custom-light: #eae185;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd54c",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 57.083,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85404,
    "c": 0.15446,
    "h": 106.4
  },
  "luminance": 0.63326
}

Semantic roles & 50–950 ramp

primary
#DCD54C
secondary
#363B96
accent
#46EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD54C

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

Preview Lab → · Contrast checker → · Palette generator →

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