#DCC951#DCC951

#DCC951 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.140 H 100.3°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DCC951
RGBrgb(220, 201, 81)
HSLhsl(52, 67%, 59%)
HSVhsv(52, 63%, 86%)
CMYKcmyk(0%, 8.6%, 63.2%, 13.7%)
CIE-LABlab(80.51, -7.33, 60.49)
CIE-LCHlch(80.51, 60.93, 96.91°)
OKLaboklab(82.95% -0.025 0.1377)
OKLCHoklch(82.95% 0.14 100.3)
XYZxyz(51.8892, 57.5852, 16.1648)
Luminance0.5758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC951 #5164DC
analogous
#DC8451 #DCC951 #A9DC51
triadic
#DCC951 #51DCC9 #C951DC
tetradic
#DCC951 #51DC84 #5164DC #DC51A9
square
#DCC951 #51DC84 #5164DC #DC51A9
split-complementary
#DCC951 #51A9DC #8451DC
monochromatic
#95841E #C8B228 #DCC951 #E6D984 #F0E9B7

Accessibility & contrast

On white

1.68
#DCC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#DCC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC951
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC951#FFFFFF#000000##000000
##DCC9511.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#ECBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc951;
/* rgb */ color: rgb(220, 201, 81);
/* oklch */ color: oklch(82.9% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#ead987',
    500: '#dcc951',
    950: '#000000',
  },
}
SCSS
$custom: #dcc951;
$custom-light: #ead987;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc951",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 51.799,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82946,
    "c": 0.13993,
    "h": 100.3
  },
  "luminance": 0.57583
}

Semantic roles & 50–950 ramp

primary
#DCC951
secondary
#384599
accent
#56E93E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC951

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

Preview Lab → · Contrast checker → · Palette generator →

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