#DCC04C#DCC04C

#DCC04C is a light, vivid yellow. Relative luminance 0.534; OKLCH L 81.1% C 0.137 H 95.5°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#DCC04C
RGBrgb(220, 192, 76)
HSLhsl(48, 67%, 58%)
HSVhsv(48, 65%, 86%)
CMYKcmyk(0%, 12.7%, 65.5%, 13.7%)
CIE-LABlab(78.13, -3.01, 60.09)
CIE-LCHlch(78.13, 60.16, 92.86°)
OKLaboklab(81.05% -0.0132 0.1361)
OKLCHoklch(81.05% 0.137 95.5)
XYZxyz(49.6717, 53.4392, 14.5345)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC04C #4C68DC
analogous
#DC784C #DCC04C #B0DC4C
triadic
#DCC04C #4CDCC0 #C04CDC
tetradic
#DCC04C #4CDC78 #4C68DC #DC4CB0
square
#DCC04C #4CDC78 #4C68DC #DC4CB0
split-complementary
#DCC04C #4CB0DC #784CDC
monochromatic
#917A1C #C4A626 #DCC04C #E6D27F #F0E4B2

Accessibility & contrast

On white

1.80
#DCC04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#DCC04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC04C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC04C#FFFFFF#000000##000000
##DCC04C1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3E
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#EDB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc04c;
/* rgb */ color: rgb(220, 192, 76);
/* oklch */ color: oklch(81.1% 0.137 95.5);
Tailwind
colors: {
  custom: {
    50: '#ead283',
    500: '#dcc04c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc04c;
$custom-light: #ead283;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc04c",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 76
  },
  "hsl": {
    "h": 48.333,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81052,
    "c": 0.13671,
    "h": 95.5
  },
  "luminance": 0.53437
}

Semantic roles & 50–950 ramp

primary
#DCC04C
secondary
#364996
accent
#5FEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC04C

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

Preview Lab → · Contrast checker → · Palette generator →

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