#DCD051#DCD051

#DCD051 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.4% C 0.146 H 103.9°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#DCD051
RGBrgb(220, 208, 81)
HSLhsl(55, 67%, 59%)
HSVhsv(55, 63%, 86%)
CMYKcmyk(0%, 5.5%, 63.2%, 13.7%)
CIE-LABlab(82.34, -10.89, 62.45)
CIE-LCHlch(82.34, 63.39, 99.89°)
OKLaboklab(84.4% -0.0351 0.1418)
OKLCHoklch(84.4% 0.146 103.9)
XYZxyz(53.5583, 60.9235, 16.7212)
Luminance0.6092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD051 #515DDC
analogous
#DC8B51 #DCD051 #A3DC51
triadic
#DCD051 #51DCD0 #D051DC
tetradic
#DCD051 #51DC8B #515DDC #DC51A3
square
#DCD051 #51DC8B #515DDC #DC51A3
split-complementary
#DCD051 #51A3DC #8B51DC
monochromatic
#958A1E #C8BA28 #DCD051 #E6DE84 #F0ECB7

Accessibility & contrast

On white

1.59
#DCD051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#DCD051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD051
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD051#FFFFFF#000000##000000
##DCD0511.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E5D058
Tritanopia (blue-blind)
#ECC3B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd051;
/* rgb */ color: rgb(220, 208, 81);
/* oklch */ color: oklch(84.4% 0.146 103.9);
Tailwind
colors: {
  custom: {
    50: '#eade87',
    500: '#dcd051',
    950: '#000000',
  },
}
SCSS
$custom: #dcd051;
$custom-light: #eade87;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd051",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 81
  },
  "hsl": {
    "h": 54.82,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.844,
    "c": 0.14611,
    "h": 103.9
  },
  "luminance": 0.60921
}

Semantic roles & 50–950 ramp

primary
#DCD051
secondary
#384099
accent
#4DE93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD051

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

Preview Lab → · Contrast checker → · Palette generator →

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