#DCC04E#DCC04E

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

Color values

HEX#DCC04E
RGBrgb(220, 192, 78)
HSLhsl(48, 67%, 58%)
HSVhsv(48, 65%, 86%)
CMYKcmyk(0%, 12.7%, 64.5%, 13.7%)
CIE-LABlab(78.15, -2.89, 59.25)
CIE-LCHlch(78.15, 59.32, 92.79°)
OKLaboklab(81.07% -0.0126 0.1346)
OKLCHoklch(81.07% 0.135 95.4)
XYZxyz(49.7423, 53.4675, 14.9064)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC04E #4E6ADC
analogous
#DC794E #DCC04E #B1DC4E
triadic
#DCC04E #4EDCC0 #C04EDC
tetradic
#DCC04E #4EDC79 #4E6ADC #DC4EB1
square
#DCC04E #4EDC79 #4E6ADC #DC4EB1
split-complementary
#DCC04E #4EB1DC #794EDC
monochromatic
#937B1D #C6A627 #DCC04E #E6D281 #F0E4B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC04E#FFFFFF#000000##000000
##DCC04E1.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)
#D3BC40
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#EDB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc04e;
/* rgb */ color: rgb(220, 192, 78);
/* oklch */ color: oklch(81.1% 0.135 95.4);
Tailwind
colors: {
  custom: {
    50: '#ead285',
    500: '#dcc04e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc04e;
$custom-light: #ead285;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc04e",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 48.169,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81071,
    "c": 0.1352,
    "h": 95.4
  },
  "luminance": 0.53465
}

Semantic roles & 50–950 ramp

primary
#DCC04E
secondary
#374A97
accent
#60EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC04E

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

Preview Lab → · Contrast checker → · Palette generator →

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