#DCDC60#DCDC60

#DCDC60 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.1% C 0.146 H 109.1°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#DCDC60
RGBrgb(220, 220, 96)
HSLhsl(60, 64%, 62%)
HSVhsv(60, 56%, 86%)
CMYKcmyk(0%, 0%, 56.4%, 13.7%)
CIE-LABlab(85.63, -15.86, 59.61)
CIE-LCHlch(85.63, 61.69, 104.90°)
OKLaboklab(87.06% -0.0477 0.1378)
OKLCHoklch(87.06% 0.146 109.1)
XYZxyz(57.2213, 67.2481, 21.0300)
Luminance0.6725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC60 #6060DC
analogous
#DC9E60 #DCDC60 #9EDC60
triadic
#DCDC60 #60DCDC #DC60DC
tetradic
#DCDC60 #60DC9E #6060DC #DC609E
square
#DCDC60 #60DC9E #6060DC #DC609E
split-complementary
#DCDC60 #609EDC #9E60DC
monochromatic
#9F9F23 #D1D12E #DCDC60 #E7E792 #F2F2C4

Accessibility & contrast

On white

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

On black

14.45
#DCDC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC60
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC60#FFFFFF#000000##000000
##DCDC601.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD453
Deuteranopia (green-blind)
#EED867
Tritanopia (blue-blind)
#EACFC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc60;
/* rgb */ color: rgb(220, 220, 96);
/* oklch */ color: oklch(87.1% 0.146 109.1);
Tailwind
colors: {
  custom: {
    50: '#e9e691',
    500: '#dcdc60',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc60;
$custom-light: #e9e691;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc60",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 96
  },
  "hsl": {
    "h": 60,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87062,
    "c": 0.1458,
    "h": 109.1
  },
  "luminance": 0.67247
}

Semantic roles & 50–950 ramp

primary
#DCDC60
secondary
#3E3EA2
accent
#1ACC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDC60

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

Preview Lab → · Contrast checker → · Palette generator →

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