#DCD451#DCD451

#DCD451 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.150 H 105.8°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#DCD451
RGBrgb(220, 212, 81)
HSLhsl(57, 67%, 59%)
HSVhsv(57, 63%, 86%)
CMYKcmyk(0%, 3.6%, 63.2%, 13.7%)
CIE-LABlab(83.39, -12.89, 63.56)
CIE-LCHlch(83.39, 64.85, 101.47°)
OKLaboklab(85.24% -0.0408 0.1442)
OKLCHoklch(85.24% 0.15 105.8)
XYZxyz(54.5458, 62.8986, 17.0504)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD451 #5159DC
analogous
#DC8F51 #DCD451 #9FDC51
triadic
#DCD451 #51DCD4 #D451DC
tetradic
#DCD451 #51DC8F #5159DC #DC519F
square
#DCD451 #51DC8F #5159DC #DC519F
split-complementary
#DCD451 #519FDC #8F51DC
monochromatic
#958E1E #C8BE28 #DCD451 #E6E184 #F0EDB7

Accessibility & contrast

On white

1.55
#DCD451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#DCD451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD451
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD451#FFFFFF#000000##000000
##DCD4511.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd451;
/* rgb */ color: rgb(220, 212, 81);
/* oklch */ color: oklch(85.2% 0.150 105.8);
Tailwind
colors: {
  custom: {
    50: '#eae088',
    500: '#dcd451',
    950: '#000000',
  },
}
SCSS
$custom: #dcd451;
$custom-light: #eae088;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd451",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 56.547,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85236,
    "c": 0.14985,
    "h": 105.8
  },
  "luminance": 0.62897
}

Semantic roles & 50–950 ramp

primary
#DCD451
secondary
#383E99
accent
#48E93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD451

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

Preview Lab → · Contrast checker → · Palette generator →

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