#DCDC50#DCDC50

#DCDC50 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.9% C 0.158 H 109.3°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#DCDC50
RGBrgb(220, 220, 80)
HSLhsl(60, 67%, 59%)
HSVhsv(60, 64%, 86%)
CMYKcmyk(0%, 0%, 63.6%, 13.7%)
CIE-LABlab(85.50, -16.93, 66.17)
CIE-LCHlch(85.50, 68.30, 104.35°)
OKLaboklab(86.91% -0.0523 0.1495)
OKLCHoklch(86.91% 0.158 109.3)
XYZxyz(56.5582, 66.9828, 17.5375)
Luminance0.6698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC50 #5050DC
analogous
#DC9650 #DCDC50 #96DC50
triadic
#DCDC50 #50DCDC #DC50DC
tetradic
#DCDC50 #50DC96 #5050DC #DC5096
square
#DCDC50 #50DC96 #5050DC #DC5096
split-complementary
#DCDC50 #5096DC #9650DC
monochromatic
#94941E #C7C728 #DCDC50 #E6E683 #F0F0B6

Accessibility & contrast

On white

1.46
#DCDC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#DCDC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC50
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC50#FFFFFF#000000##000000
##DCDC501.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33D
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#EBCFBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc50;
/* rgb */ color: rgb(220, 220, 80);
/* oklch */ color: oklch(86.9% 0.158 109.3);
Tailwind
colors: {
  custom: {
    50: '#eae688',
    500: '#dcdc50',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc50;
$custom-light: #eae688;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc50",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86913,
    "c": 0.15844,
    "h": 109.3
  },
  "luminance": 0.66981
}

Semantic roles & 50–950 ramp

primary
#DCDC50
secondary
#383899
accent
#3EEA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC50

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

Preview Lab → · Contrast checker → · Palette generator →

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