#DCC754#DCC754

#DCC754 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.6% C 0.136 H 99.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#DCC754
RGBrgb(220, 199, 84)
HSLhsl(51, 66%, 60%)
HSVhsv(51, 62%, 86%)
CMYKcmyk(0%, 9.5%, 61.8%, 13.7%)
CIE-LABlab(80.01, -6.12, 58.66)
CIE-LCHlch(80.01, 58.98, 95.95°)
OKLaboklab(82.56% -0.0212 0.1342)
OKLCHoklch(82.56% 0.136 99)
XYZxyz(51.5410, 56.7049, 16.6160)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC754 #5469DC
analogous
#DC8354 #DCC754 #ADDC54
triadic
#DCC754 #54DCC7 #C754DC
tetradic
#DCC754 #54DC83 #5469DC #DC54AD
square
#DCC754 #54DC83 #5469DC #DC54AD
split-complementary
#DCC754 #54ADDC #8354DC
monochromatic
#97841F #CAB129 #DCC754 #E6D887 #F1E8BA

Accessibility & contrast

On white

1.70
#DCC754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#DCC754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC754
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC754#FFFFFF#000000##000000
##DCC7541.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C247
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#ECBAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc754;
/* rgb */ color: rgb(220, 199, 84);
/* oklch */ color: oklch(82.6% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#ead789',
    500: '#dcc754',
    950: '#000000',
  },
}
SCSS
$custom: #dcc754;
$custom-light: #ead789;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc754",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 50.735,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82563,
    "c": 0.1359,
    "h": 99
  },
  "luminance": 0.56703
}

Semantic roles & 50–950 ramp

primary
#DCC754
secondary
#39489B
accent
#59E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC754

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

Preview Lab → · Contrast checker → · Palette generator →

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