#DCC954#DCC954

#DCC954 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.138 H 100.1°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#DCC954
RGBrgb(220, 201, 84)
HSLhsl(52, 66%, 60%)
HSVhsv(52, 62%, 86%)
CMYKcmyk(0%, 8.6%, 61.8%, 13.7%)
CIE-LABlab(80.53, -7.14, 59.23)
CIE-LCHlch(80.53, 59.66, 96.88°)
OKLaboklab(82.98% -0.0241 0.1354)
OKLCHoklch(82.98% 0.138 100.1)
XYZxyz(52.0042, 57.6312, 16.7704)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC954 #5467DC
analogous
#DC8554 #DCC954 #ABDC54
triadic
#DCC954 #54DCC9 #C954DC
tetradic
#DCC954 #54DC85 #5467DC #DC54AB
square
#DCC954 #54DC85 #5467DC #DC54AB
split-complementary
#DCC954 #54ABDC #8554DC
monochromatic
#97861F #CAB329 #DCC954 #E6D987 #F1E9BA

Accessibility & contrast

On white

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

On black

12.53
#DCC954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC954
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC954#FFFFFF#000000##000000
##DCC9541.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC447
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#ECBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc954;
/* rgb */ color: rgb(220, 201, 84);
/* oklch */ color: oklch(83.0% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#ead989',
    500: '#dcc954',
    950: '#000000',
  },
}
SCSS
$custom: #dcc954;
$custom-light: #ead989;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc954",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 51.618,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82975,
    "c": 0.13756,
    "h": 100.1
  },
  "luminance": 0.57629
}

Semantic roles & 50–950 ramp

primary
#DCC954
secondary
#39479B
accent
#57E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC954

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

Preview Lab → · Contrast checker → · Palette generator →

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