#DCC04D#DCC04D

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

Color values

HEX#DCC04D
RGBrgb(220, 192, 77)
HSLhsl(48, 67%, 58%)
HSVhsv(48, 65%, 86%)
CMYKcmyk(0%, 12.7%, 65%, 13.7%)
CIE-LABlab(78.14, -2.95, 59.67)
CIE-LCHlch(78.14, 59.74, 92.83°)
OKLaboklab(81.06% -0.0129 0.1353)
OKLCHoklch(81.06% 0.136 95.5)
XYZxyz(49.7067, 53.4533, 14.7191)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC04D #4D69DC
analogous
#DC784D #DCC04D #B0DC4D
triadic
#DCC04D #4DDCC0 #C04DDC
tetradic
#DCC04D #4DDC78 #4D69DC #DC4DB0
square
#DCC04D #4DDC78 #4D69DC #DC4DB0
split-complementary
#DCC04D #4DB0DC #784DDC
monochromatic
#927B1D #C5A627 #DCC04D #E6D280 #F0E4B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC04D#FFFFFF#000000##000000
##DCC04D1.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)
#D3BC3F
Deuteranopia (green-blind)
#DAC553
Tritanopia (blue-blind)
#EDB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc04d;
/* rgb */ color: rgb(220, 192, 77);
/* oklch */ color: oklch(81.1% 0.136 95.5);
Tailwind
colors: {
  custom: {
    50: '#ead284',
    500: '#dcc04d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc04d;
$custom-light: #ead284;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc04d",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 48.252,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81062,
    "c": 0.13596,
    "h": 95.5
  },
  "luminance": 0.53451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC04D

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

Preview Lab → · Contrast checker → · Palette generator →

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