#DCC851#DCC851

#DCC851 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.139 H 99.8°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#DCC851
RGBrgb(220, 200, 81)
HSLhsl(51, 67%, 59%)
HSVhsv(51, 63%, 86%)
CMYKcmyk(0%, 9.1%, 63.2%, 13.7%)
CIE-LABlab(80.25, -6.82, 60.21)
CIE-LCHlch(80.25, 60.60, 96.46°)
OKLaboklab(82.74% -0.0236 0.1371)
OKLCHoklch(82.74% 0.139 99.8)
XYZxyz(51.6568, 57.1205, 16.0874)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC851 #5165DC
analogous
#DC8351 #DCC851 #ABDC51
triadic
#DCC851 #51DCC8 #C851DC
tetradic
#DCC851 #51DC83 #5165DC #DC51AB
square
#DCC851 #51DC83 #5165DC #DC51AB
split-complementary
#DCC851 #51ABDC #8351DC
monochromatic
#95841E #C8B128 #DCC851 #E6D884 #F0E8B7

Accessibility & contrast

On white

1.69
#DCC851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#DCC851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC851
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC851#FFFFFF#000000##000000
##DCC8511.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#ECBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc851;
/* rgb */ color: rgb(220, 200, 81);
/* oklch */ color: oklch(82.7% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#ead887',
    500: '#dcc851',
    950: '#000000',
  },
}
SCSS
$custom: #dcc851;
$custom-light: #ead887;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc851",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 51.367,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8274,
    "c": 0.1391,
    "h": 99.8
  },
  "luminance": 0.57118
}

Semantic roles & 50–950 ramp

primary
#DCC851
secondary
#384699
accent
#57E93E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC851

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

Preview Lab → · Contrast checker → · Palette generator →

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