#DCD74C#DCD74C

#DCD74C is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.8% C 0.156 H 107.3°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#DCD74C
RGBrgb(220, 215, 76)
HSLhsl(58, 67%, 58%)
HSVhsv(58, 65%, 86%)
CMYKcmyk(0%, 2.3%, 65.5%, 13.7%)
CIE-LABlab(84.14, -14.68, 66.35)
CIE-LCHlch(84.14, 67.96, 102.48°)
OKLaboklab(85.82% -0.0464 0.1493)
OKLCHoklch(85.82% 0.156 107.3)
XYZxyz(55.1221, 64.3401, 16.3513)
Luminance0.6434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD74C #4C51DC
analogous
#DC8F4C #DCD74C #99DC4C
triadic
#DCD74C #4CDCD7 #D74CDC
tetradic
#DCD74C #4CDC8F #4C51DC #DC4C99
square
#DCD74C #4CDC8F #4C51DC #DC4C99
split-complementary
#DCD74C #4C99DC #8F4CDC
monochromatic
#918D1C #C4BF26 #DCD74C #E6E27F #F0EEB2

Accessibility & contrast

On white

1.51
#DCD74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#DCD74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD74C
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD74C#FFFFFF#000000##000000
##DCD74C1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF39
Deuteranopia (green-blind)
#EBD455
Tritanopia (blue-blind)
#EBC9BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd74c;
/* rgb */ color: rgb(220, 215, 76);
/* oklch */ color: oklch(85.8% 0.156 107.3);
Tailwind
colors: {
  custom: {
    50: '#eae385',
    500: '#dcd74c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd74c;
$custom-light: #eae385;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd74c",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 57.917,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85824,
    "c": 0.15637,
    "h": 107.3
  },
  "luminance": 0.64338
}

Semantic roles & 50–950 ramp

primary
#DCD74C
secondary
#363996
accent
#44EA3E
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD74C

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

Preview Lab → · Contrast checker → · Palette generator →

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