#DCC24A#DCC24A

#DCC24A is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.140 H 96.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#DCC24A
RGBrgb(220, 194, 74)
HSLhsl(49, 68%, 58%)
HSVhsv(49, 66%, 86%)
CMYKcmyk(0%, 11.8%, 66.4%, 13.7%)
CIE-LABlab(78.63, -4.16, 61.45)
CIE-LCHlch(78.63, 61.59, 93.87°)
OKLaboklab(81.44% -0.0167 0.1387)
OKLCHoklch(81.44% 0.14 96.9)
XYZxyz(50.0453, 54.2961, 14.3214)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC24A #4A64DC
analogous
#DC794A #DCC24A #ADDC4A
triadic
#DCC24A #4ADCC2 #C24ADC
tetradic
#DCC24A #4ADC79 #4A64DC #DC4AAD
square
#DCC24A #4ADC79 #4A64DC #DC4AAD
split-complementary
#DCC24A #4AADDC #794ADC
monochromatic
#907B1C #C3A726 #DCC24A #E6D37D #F0E5B1

Accessibility & contrast

On white

1.77
#DCC24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#DCC24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC24A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC24A#FFFFFF#000000##000000
##DCC24A1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3B
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#EDB4A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc24a;
/* rgb */ color: rgb(220, 194, 74);
/* oklch */ color: oklch(81.4% 0.140 96.9);
Tailwind
colors: {
  custom: {
    50: '#ead482',
    500: '#dcc24a',
    950: '#000000',
  },
}
SCSS
$custom: #dcc24a;
$custom-light: #ead482;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc24a",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 49.315,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81443,
    "c": 0.13966,
    "h": 96.9
  },
  "luminance": 0.54294
}

Semantic roles & 50–950 ramp

primary
#DCC24A
secondary
#354695
accent
#5CEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC24A

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

Preview Lab → · Contrast checker → · Palette generator →

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