#DCDA72#DCDA72

#DCDA72 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.127 H 107.8°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#DCDA72
RGBrgb(220, 218, 114)
HSLhsl(59, 60%, 65%)
HSVhsv(59, 48%, 86%)
CMYKcmyk(0%, 0.9%, 48.2%, 13.7%)
CIE-LABlab(85.29, -13.41, 50.99)
CIE-LCHlch(85.29, 52.72, 104.73°)
OKLaboklab(86.85% -0.0388 0.121)
OKLCHoklch(86.85% 0.127 107.8)
XYZxyz(57.6252, 66.5748, 25.7310)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA72 #7274DC
analogous
#DCA572 #DCDA72 #A9DC72
triadic
#DCDA72 #72DCDA #DA72DC
tetradic
#DCDA72 #72DCA5 #7274DC #DC72A9
square
#DCDA72 #72DCA5 #7274DC #DC72A9
split-complementary
#DCDA72 #72A9DC #A572DC
monochromatic
#AAA72A #D0CD41 #DCDA72 #E8E7A3 #F4F4D4

Accessibility & contrast

On white

1.47
#DCDA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#DCDA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA72
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA72#FFFFFF#000000##000000
##DCDA721.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D369
Deuteranopia (green-blind)
#EBD777
Tritanopia (blue-blind)
#E9CFC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda72;
/* rgb */ color: rgb(220, 218, 114);
/* oklch */ color: oklch(86.9% 0.127 107.8);
Tailwind
colors: {
  custom: {
    50: '#e9e59d',
    500: '#dcda72',
    950: '#000000',
  },
}
SCSS
$custom: #dcda72;
$custom-light: #e9e59d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda72",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 114
  },
  "hsl": {
    "h": 58.868,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86852,
    "c": 0.12703,
    "h": 107.8
  },
  "luminance": 0.66573
}

Semantic roles & 50–950 ramp

primary
#DCDA72
secondary
#4648AC
accent
#21C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDA72

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

Preview Lab → · Contrast checker → · Palette generator →

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