#DCC04A#DCC04A

#DCC04A is a light, vivid yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.138 H 95.7°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#DCC04A
RGBrgb(220, 192, 74)
HSLhsl(48, 68%, 58%)
HSVhsv(48, 66%, 86%)
CMYKcmyk(0%, 12.7%, 66.4%, 13.7%)
CIE-LABlab(78.12, -3.12, 60.91)
CIE-LCHlch(78.12, 60.99, 92.93°)
OKLaboklab(81.03% -0.0138 0.1375)
OKLCHoklch(81.03% 0.138 95.7)
XYZxyz(49.6032, 53.4119, 14.1740)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC04A #4A66DC
analogous
#DC774A #DCC04A #AFDC4A
triadic
#DCC04A #4ADCC0 #C04ADC
tetradic
#DCC04A #4ADC77 #4A66DC #DC4AAF
square
#DCC04A #4ADC77 #4A66DC #DC4AAF
split-complementary
#DCC04A #4AAFDC #774ADC
monochromatic
#907A1C #C3A526 #DCC04A #E6D27D #F0E4B1

Accessibility & contrast

On white

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

On black

11.68
#DCC04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC04A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC04A#FFFFFF#000000##000000
##DCC04A1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3B
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#EDB2A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc04a;
/* rgb */ color: rgb(220, 192, 74);
/* oklch */ color: oklch(81.0% 0.138 95.7);
Tailwind
colors: {
  custom: {
    50: '#ead282',
    500: '#dcc04a',
    950: '#000000',
  },
}
SCSS
$custom: #dcc04a;
$custom-light: #ead282;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc04a",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 48.493,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81034,
    "c": 0.13819,
    "h": 95.7
  },
  "luminance": 0.53409
}

Semantic roles & 50–950 ramp

primary
#DCC04A
secondary
#354895
accent
#5FEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC04A

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

Preview Lab → · Contrast checker → · Palette generator →

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