#DCC24E#DCC24E

#DCC24E is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.137 H 96.6°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#DCC24E
RGBrgb(220, 194, 78)
HSLhsl(49, 67%, 58%)
HSVhsv(49, 65%, 86%)
CMYKcmyk(0%, 11.8%, 64.5%, 13.7%)
CIE-LABlab(78.67, -3.92, 59.80)
CIE-LCHlch(78.67, 59.93, 93.75°)
OKLaboklab(81.48% -0.0156 0.1358)
OKLCHoklch(81.48% 0.137 96.6)
XYZxyz(50.1844, 54.3517, 15.0538)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC24E #4E68DC
analogous
#DC7B4E #DCC24E #AFDC4E
triadic
#DCC24E #4EDCC2 #C24EDC
tetradic
#DCC24E #4EDC7B #4E68DC #DC4EAF
square
#DCC24E #4EDC7B #4E68DC #DC4EAF
split-complementary
#DCC24E #4EAFDC #7B4EDC
monochromatic
#937D1D #C6A927 #DCC24E #E6D481 #F0E5B4

Accessibility & contrast

On white

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

On black

11.87
#DCC24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC24E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC24E#FFFFFF#000000##000000
##DCC24E1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE40
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#EDB4AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc24e;
/* rgb */ color: rgb(220, 194, 78);
/* oklch */ color: oklch(81.5% 0.137 96.6);
Tailwind
colors: {
  custom: {
    50: '#ead485',
    500: '#dcc24e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc24e;
$custom-light: #ead485;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc24e",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 49.014,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81479,
    "c": 0.13667,
    "h": 96.6
  },
  "luminance": 0.54349
}

Semantic roles & 50–950 ramp

primary
#DCC24E
secondary
#374897
accent
#5DEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC24E

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

Preview Lab → · Contrast checker → · Palette generator →

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