#DCDC70#DCDC70

#DCDC70 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.2% C 0.131 H 108.8°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#DCDC70
RGBrgb(220, 220, 112)
HSLhsl(60, 61%, 65%)
HSVhsv(60, 49%, 86%)
CMYKcmyk(0%, 0%, 49.1%, 13.7%)
CIE-LABlab(85.79, -14.58, 52.53)
CIE-LCHlch(85.79, 54.51, 105.51°)
OKLaboklab(87.25% -0.0424 0.1242)
OKLCHoklch(87.25% 0.131 108.8)
XYZxyz(58.0343, 67.5733, 25.3119)
Luminance0.6757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC70 #7070DC
analogous
#DCA670 #DCDC70 #A6DC70
triadic
#DCDC70 #70DCDC #DC70DC
tetradic
#DCDC70 #70DCA6 #7070DC #DC70A6
square
#DCDC70 #70DCA6 #7070DC #DC70A6
split-complementary
#DCDC70 #70A6DC #A670DC
monochromatic
#A8A829 #D0D03F #DCDC70 #E8E8A1 #F4F4D2

Accessibility & contrast

On white

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

On black

14.51
#DCDC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC70
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC70#FFFFFF#000000##000000
##DCDC701.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdc70;
/* rgb */ color: rgb(220, 220, 112);
/* oklch */ color: oklch(87.2% 0.131 108.8);
Tailwind
colors: {
  custom: {
    50: '#e9e69c',
    500: '#dcdc70',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc70;
$custom-light: #e9e69c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc70",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 112
  },
  "hsl": {
    "h": 60,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.87246,
    "c": 0.13119,
    "h": 108.8
  },
  "luminance": 0.67572
}

Semantic roles & 50–950 ramp

primary
#DCDC70
secondary
#4545AB
accent
#1DC81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDC70

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

Preview Lab → · Contrast checker → · Palette generator →

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