#DCDC5C#DCDC5C

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

Color values

HEX#DCDC5C
RGBrgb(220, 220, 92)
HSLhsl(60, 65%, 61%)
HSVhsv(60, 58%, 86%)
CMYKcmyk(0%, 0%, 58.2%, 13.7%)
CIE-LABlab(85.59, -16.15, 61.31)
CIE-LCHlch(85.59, 63.40, 104.76°)
OKLaboklab(87.02% -0.0489 0.1409)
OKLCHoklch(87.02% 0.149 109.1)
XYZxyz(57.0418, 67.1763, 20.0847)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC5C #5C5CDC
analogous
#DC9C5C #DCDC5C #9CDC5C
triadic
#DCDC5C #5CDCDC #DC5CDC
tetradic
#DCDC5C #5CDC9C #5C5CDC #DC5C9C
square
#DCDC5C #5CDC9C #5C5CDC #DC5C9C
split-complementary
#DCDC5C #5C9CDC #9C5CDC
monochromatic
#9C9C22 #CECE2C #DCDC5C #E7E78E #F2F2C1

Accessibility & contrast

On white

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

On black

14.43
#DCDC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC5C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC5C#FFFFFF#000000##000000
##DCDC5C1.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdc5c;
/* rgb */ color: rgb(220, 220, 92);
/* oklch */ color: oklch(87.0% 0.149 109.1);
Tailwind
colors: {
  custom: {
    50: '#eae68f',
    500: '#dcdc5c',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc5c;
$custom-light: #eae68f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc5c",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87022,
    "c": 0.14916,
    "h": 109.1
  },
  "luminance": 0.67175
}

Semantic roles & 50–950 ramp

primary
#DCDC5C
secondary
#3C3CA0
accent
#19CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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