#DCD74A#DCD74A

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

Color values

HEX#DCD74A
RGBrgb(220, 215, 74)
HSLhsl(58, 68%, 58%)
HSVhsv(58, 66%, 86%)
CMYKcmyk(0%, 2.3%, 66.4%, 13.7%)
CIE-LABlab(84.13, -14.80, 67.12)
CIE-LCHlch(84.13, 68.73, 102.43°)
OKLaboklab(85.81% -0.0469 0.1506)
OKLCHoklch(85.81% 0.158 107.3)
XYZxyz(55.0537, 64.3127, 15.9908)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD74A #4A4FDC
analogous
#DC8E4A #DCD74A #98DC4A
triadic
#DCD74A #4ADCD7 #D74ADC
tetradic
#DCD74A #4ADC8E #4A4FDC #DC4A98
square
#DCD74A #4ADC8E #4A4FDC #DC4A98
split-complementary
#DCD74A #4A98DC #8E4ADC
monochromatic
#908C1C #C3BE26 #DCD74A #E6E27D #F0EEB1

Accessibility & contrast

On white

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

On black

13.86
#DCD74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD74A
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD74A#FFFFFF#000000##000000
##DCD74A1.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd74a;
/* rgb */ color: rgb(220, 215, 74);
/* oklch */ color: oklch(85.8% 0.158 107.3);
Tailwind
colors: {
  custom: {
    50: '#eae384',
    500: '#dcd74a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd74a;
$custom-light: #eae384;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd74a",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 57.945,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85809,
    "c": 0.15776,
    "h": 107.3
  },
  "luminance": 0.64311
}

Semantic roles & 50–950 ramp

primary
#DCD74A
secondary
#353995
accent
#43EA3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD74A

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

Preview Lab → · Contrast checker → · Palette generator →

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