#DCC74D#DCC74D

#DCC74D is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.5% C 0.141 H 99.5°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#DCC74D
RGBrgb(220, 199, 77)
HSLhsl(51, 67%, 58%)
HSVhsv(51, 65%, 86%)
CMYKcmyk(0%, 9.5%, 65%, 13.7%)
CIE-LABlab(79.95, -6.55, 61.59)
CIE-LCHlch(79.95, 61.94, 96.07°)
OKLaboklab(82.5% -0.0232 0.1394)
OKLCHoklch(82.5% 0.141 99.5)
XYZxyz(51.2804, 56.6006, 15.2436)
Luminance0.5660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC74D #4D62DC
analogous
#DC7F4D #DCC74D #A9DC4D
triadic
#DCC74D #4DDCC7 #C74DDC
tetradic
#DCC74D #4DDC7F #4D62DC #DC4DA9
square
#DCC74D #4DDC7F #4D62DC #DC4DA9
split-complementary
#DCC74D #4DA9DC #7F4DDC
monochromatic
#92811D #C5AE27 #DCC74D #E6D780 #F0E7B3

Accessibility & contrast

On white

1.70
#DCC74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#DCC74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC74D
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC74D#FFFFFF#000000##000000
##DCC74D1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23E
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#ECB9AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc74d;
/* rgb */ color: rgb(220, 199, 77);
/* oklch */ color: oklch(82.5% 0.141 99.5);
Tailwind
colors: {
  custom: {
    50: '#ead784',
    500: '#dcc74d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc74d;
$custom-light: #ead784;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc74d",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 77
  },
  "hsl": {
    "h": 51.189,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82497,
    "c": 0.14134,
    "h": 99.5
  },
  "luminance": 0.56598
}

Semantic roles & 50–950 ramp

primary
#DCC74D
secondary
#364597
accent
#57EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC74D

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

Preview Lab → · Contrast checker → · Palette generator →

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