#DCDC6C#DCDC6C

#DCDC6C is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.2% C 0.135 H 108.9°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#DCDC6C
RGBrgb(220, 220, 108)
HSLhsl(60, 62%, 64%)
HSVhsv(60, 51%, 86%)
CMYKcmyk(0%, 0%, 50.9%, 13.7%)
CIE-LABlab(85.75, -14.92, 54.34)
CIE-LCHlch(85.75, 56.35, 105.36°)
OKLaboklab(87.2% -0.0437 0.1277)
OKLCHoklch(87.2% 0.135 108.9)
XYZxyz(57.8166, 67.4862, 24.1649)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC6C #6C6CDC
analogous
#DCA46C #DCDC6C #A4DC6C
triadic
#DCDC6C #6CDCDC #DC6CDC
tetradic
#DCDC6C #6CDCA4 #6C6CDC #DC6CA4
square
#DCDC6C #6CDCA4 #6C6CDC #DC6CA4
split-complementary
#DCDC6C #6CA4DC #A46CDC
monochromatic
#A6A628 #D0D03B #DCDC6C #E8E89D #F4F4CF

Accessibility & contrast

On white

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

On black

14.50
#DCDC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC6C
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC6C#FFFFFF#000000##000000
##DCDC6C1.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD461
Deuteranopia (green-blind)
#EDD872
Tritanopia (blue-blind)
#E9D0C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc6c;
/* rgb */ color: rgb(220, 220, 108);
/* oklch */ color: oklch(87.2% 0.135 108.9);
Tailwind
colors: {
  custom: {
    50: '#e9e699',
    500: '#dcdc6c',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc6c;
$custom-light: #e9e699;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc6c",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 60,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87197,
    "c": 0.13501,
    "h": 108.9
  },
  "luminance": 0.67485
}

Semantic roles & 50–950 ramp

primary
#DCDC6C
secondary
#4343A9
accent
#1CC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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