#DCDC71#DCDC71

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

Color values

HEX#DCDC71
RGBrgb(220, 220, 113)
HSLhsl(60, 60%, 65%)
HSVhsv(60, 49%, 86%)
CMYKcmyk(0%, 0%, 48.6%, 13.7%)
CIE-LABlab(85.80, -14.49, 52.07)
CIE-LCHlch(85.80, 54.05, 105.55°)
OKLaboklab(87.26% -0.042 0.1233)
OKLCHoklch(87.26% 0.13 108.8)
XYZxyz(58.0903, 67.5957, 25.6068)
Luminance0.6759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC71 #7171DC
analogous
#DCA671 #DCDC71 #A6DC71
triadic
#DCDC71 #71DCDC #DC71DC
tetradic
#DCDC71 #71DCA6 #7171DC #DC71A6
square
#DCDC71 #71DCA6 #7171DC #DC71A6
split-complementary
#DCDC71 #71A6DC #A671DC
monochromatic
#A9A92A #D0D040 #DCDC71 #E8E8A2 #F4F4D3

Accessibility & contrast

On white

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

On black

14.52
#DCDC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC71
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC71#FFFFFF#000000##000000
##DCDC711.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD467
Deuteranopia (green-blind)
#ECD876
Tritanopia (blue-blind)
#E9D1C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc71;
/* rgb */ color: rgb(220, 220, 113);
/* oklch */ color: oklch(87.3% 0.130 108.8);
Tailwind
colors: {
  custom: {
    50: '#e9e69c',
    500: '#dcdc71',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc71;
$custom-light: #e9e69c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc71",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87258,
    "c": 0.13021,
    "h": 108.8
  },
  "luminance": 0.67594
}

Semantic roles & 50–950 ramp

primary
#DCDC71
secondary
#4646AC
accent
#1DC81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDC71

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

Preview Lab → · Contrast checker → · Palette generator →

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