#DCC451#DCC451

#DCC451 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.136 H 97.5°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#DCC451
RGBrgb(220, 196, 81)
HSLhsl(50, 67%, 59%)
HSVhsv(50, 63%, 86%)
CMYKcmyk(0%, 10.9%, 63.2%, 13.7%)
CIE-LABlab(79.21, -4.77, 59.09)
CIE-LCHlch(79.21, 59.29, 94.61°)
OKLaboklab(81.92% -0.0177 0.1347)
OKLCHoklch(81.92% 0.136 97.5)
XYZxyz(50.7425, 55.2920, 15.7826)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC451 #5169DC
analogous
#DC7F51 #DCC451 #AFDC51
triadic
#DCC451 #51DCC4 #C451DC
tetradic
#DCC451 #51DC7F #5169DC #DC51AF
square
#DCC451 #51DC7F #5169DC #DC51AF
split-complementary
#DCC451 #51AFDC #7F51DC
monochromatic
#95801E #C8AC28 #DCC451 #E6D584 #F0E7B7

Accessibility & contrast

On white

1.74
#DCC451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#DCC451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC451
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC451#FFFFFF#000000##000000
##DCC4511.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C044
Deuteranopia (green-blind)
#DCC857
Tritanopia (blue-blind)
#ECB6AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc451;
/* rgb */ color: rgb(220, 196, 81);
/* oklch */ color: oklch(81.9% 0.136 97.5);
Tailwind
colors: {
  custom: {
    50: '#ead587',
    500: '#dcc451',
    950: '#000000',
  },
}
SCSS
$custom: #dcc451;
$custom-light: #ead587;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc451",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 49.64,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81917,
    "c": 0.13588,
    "h": 97.5
  },
  "luminance": 0.5529
}

Semantic roles & 50–950 ramp

primary
#DCC451
secondary
#384999
accent
#5CE93E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC451

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

Preview Lab → · Contrast checker → · Palette generator →

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