#DCDC74#DCDC74

#DCDC74 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.3% C 0.127 H 108.8°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#DCDC74
RGBrgb(220, 220, 116)
HSLhsl(60, 60%, 66%)
HSVhsv(60, 47%, 86%)
CMYKcmyk(0%, 0%, 47.3%, 13.7%)
CIE-LABlab(85.84, -14.22, 50.70)
CIE-LCHlch(85.84, 52.65, 105.67°)
OKLaboklab(87.3% -0.0409 0.1205)
OKLCHoklch(87.3% 0.127 108.8)
XYZxyz(58.2620, 67.6644, 26.5110)
Luminance0.6766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC74 #7474DC
analogous
#DCA874 #DCDC74 #A8DC74
triadic
#DCDC74 #74DCDC #DC74DC
tetradic
#DCDC74 #74DCA8 #7474DC #DC74A8
square
#DCDC74 #74DCA8 #7474DC #DC74A8
split-complementary
#DCDC74 #74A8DC #A874DC
monochromatic
#ABAB2B #D0D043 #DCDC74 #E8E8A5 #F5F5D6

Accessibility & contrast

On white

1.45
#DCDC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#DCDC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC74
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC74#FFFFFF#000000##000000
##DCDC741.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD56B
Deuteranopia (green-blind)
#ECD879
Tritanopia (blue-blind)
#E9D1C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcdc74;
/* rgb */ color: rgb(220, 220, 116);
/* oklch */ color: oklch(87.3% 0.127 108.8);
Tailwind
colors: {
  custom: {
    50: '#e9e69e',
    500: '#dcdc74',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc74;
$custom-light: #e9e69e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc74",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87297,
    "c": 0.12726,
    "h": 108.8
  },
  "luminance": 0.67663
}

Semantic roles & 50–950 ramp

primary
#DCDC74
secondary
#4747AD
accent
#1EC71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DCDC74

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

Preview Lab → · Contrast checker → · Palette generator →

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