#DCDC68#DCDC68

#DCDC68 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.2% C 0.139 H 109.0°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#DCDC68
RGBrgb(220, 220, 104)
HSLhsl(60, 62%, 64%)
HSVhsv(60, 53%, 86%)
CMYKcmyk(0%, 0%, 52.7%, 13.7%)
CIE-LABlab(85.71, -15.25, 56.13)
CIE-LCHlch(85.71, 58.16, 105.20°)
OKLaboklab(87.15% -0.0451 0.1312)
OKLCHoklch(87.15% 0.139 109)
XYZxyz(57.6086, 67.4030, 23.0694)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC68 #6868DC
analogous
#DCA268 #DCDC68 #A2DC68
triadic
#DCDC68 #68DCDC #DC68DC
tetradic
#DCDC68 #68DCA2 #6868DC #DC68A2
square
#DCDC68 #68DCA2 #6868DC #DC68A2
split-complementary
#DCDC68 #68A2DC #A268DC
monochromatic
#A4A426 #D0D036 #DCDC68 #E8E89A #F3F3CB

Accessibility & contrast

On white

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

On black

14.48
#DCDC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC68
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC68#FFFFFF#000000##000000
##DCDC681.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45D
Deuteranopia (green-blind)
#EDD86E
Tritanopia (blue-blind)
#EAD0C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc68;
/* rgb */ color: rgb(220, 220, 104);
/* oklch */ color: oklch(87.2% 0.139 109.0);
Tailwind
colors: {
  custom: {
    50: '#e9e696',
    500: '#dcdc68',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc68;
$custom-light: #e9e696;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc68",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 104
  },
  "hsl": {
    "h": 60,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8715,
    "c": 0.13873,
    "h": 109
  },
  "luminance": 0.67402
}

Semantic roles & 50–950 ramp

primary
#DCDC68
secondary
#4141A7
accent
#1BCA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDC68

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

Preview Lab → · Contrast checker → · Palette generator →

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