#DCDC73#DCDC73

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

Color values

HEX#DCDC73
RGBrgb(220, 220, 115)
HSLhsl(60, 60%, 66%)
HSVhsv(60, 48%, 86%)
CMYKcmyk(0%, 0%, 47.7%, 13.7%)
CIE-LABlab(85.83, -14.31, 51.16)
CIE-LCHlch(85.83, 53.12, 105.63°)
OKLaboklab(87.28% -0.0413 0.1214)
OKLCHoklch(87.28% 0.128 108.8)
XYZxyz(58.2042, 67.6412, 26.2063)
Luminance0.6764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC73 #7373DC
analogous
#DCA773 #DCDC73 #A7DC73
triadic
#DCDC73 #73DCDC #DC73DC
tetradic
#DCDC73 #73DCA7 #7373DC #DC73A7
square
#DCDC73 #73DCA7 #7373DC #DC73A7
split-complementary
#DCDC73 #73A7DC #A773DC
monochromatic
#AAAA2B #D0D042 #DCDC73 #E8E8A4 #F4F4D5

Accessibility & contrast

On white

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

On black

14.53
#DCDC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC73
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC73#FFFFFF#000000##000000
##DCDC731.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD46A
Deuteranopia (green-blind)
#ECD878
Tritanopia (blue-blind)
#E9D1C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcdc73;
/* rgb */ color: rgb(220, 220, 115);
/* oklch */ color: oklch(87.3% 0.128 108.8);
Tailwind
colors: {
  custom: {
    50: '#e9e69e',
    500: '#dcdc73',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc73;
$custom-light: #e9e69e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc73",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 115
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87284,
    "c": 0.12824,
    "h": 108.8
  },
  "luminance": 0.6764
}

Semantic roles & 50–950 ramp

primary
#DCDC73
secondary
#4747AD
accent
#1EC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDC73

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

Preview Lab → · Contrast checker → · Palette generator →

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