#DCD55C#DCD55C

#DCD55C is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.5% C 0.142 H 105.9°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#DCD55C
RGBrgb(220, 213, 92)
HSLhsl(57, 65%, 61%)
HSVhsv(57, 58%, 86%)
CMYKcmyk(0%, 3.2%, 58.2%, 13.7%)
CIE-LABlab(83.75, -12.67, 59.27)
CIE-LCHlch(83.75, 60.61, 102.07°)
OKLaboklab(85.55% -0.039 0.1366)
OKLCHoklch(85.55% 0.142 105.9)
XYZxyz(55.2430, 63.5786, 19.4850)
Luminance0.6358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD55C #5C63DC
analogous
#DC955C #DCD55C #A3DC5C
triadic
#DCD55C #5CDCD5 #D55CDC
tetradic
#DCD55C #5CDC95 #5C63DC #DC5CA3
square
#DCD55C #5CDC95 #5C63DC #DC5CA3
split-complementary
#DCD55C #5CA3DC #955CDC
monochromatic
#9C9522 #CEC62C #DCD55C #E7E28E #F2EFC1

Accessibility & contrast

On white

1.53
#DCD55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#DCD55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD55C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD55C#FFFFFF#000000##000000
##DCD55C1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4F
Deuteranopia (green-blind)
#E9D363
Tritanopia (blue-blind)
#EBC8BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd55c;
/* rgb */ color: rgb(220, 213, 92);
/* oklch */ color: oklch(85.5% 0.142 105.9);
Tailwind
colors: {
  custom: {
    50: '#eae18e',
    500: '#dcd55c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd55c;
$custom-light: #eae18e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd55c",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 92
  },
  "hsl": {
    "h": 56.719,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8555,
    "c": 0.14203,
    "h": 105.9
  },
  "luminance": 0.63577
}

Semantic roles & 50–950 ramp

primary
#DCD55C
secondary
#3C42A0
accent
#23CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD55C

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

Preview Lab → · Contrast checker → · Palette generator →

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