#DCDA73#DCDA73

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

Color values

HEX#DCDA73
RGBrgb(220, 218, 115)
HSLhsl(59, 60%, 66%)
HSVhsv(59, 48%, 86%)
CMYKcmyk(0%, 0.9%, 47.7%, 13.7%)
CIE-LABlab(85.30, -13.32, 50.52)
CIE-LCHlch(85.30, 52.25, 104.77°)
OKLaboklab(86.87% -0.0384 0.12)
OKLCHoklch(86.87% 0.126 107.8)
XYZxyz(57.6824, 66.5977, 26.0324)
Luminance0.6660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA73 #7375DC
analogous
#DCA573 #DCDA73 #A9DC73
triadic
#DCDA73 #73DCDA #DA73DC
tetradic
#DCDA73 #73DCA5 #7375DC #DC73A9
square
#DCDA73 #73DCA5 #7375DC #DC73A9
split-complementary
#DCDA73 #73A9DC #A573DC
monochromatic
#AAA82B #D0CD42 #DCDA73 #E8E7A4 #F4F4D5

Accessibility & contrast

On white

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

On black

14.32
#DCDA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA73
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA73#FFFFFF#000000##000000
##DCDA731.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcda73;
/* rgb */ color: rgb(220, 218, 115);
/* oklch */ color: oklch(86.9% 0.126 107.8);
Tailwind
colors: {
  custom: {
    50: '#e9e59d',
    500: '#dcda73',
    950: '#000000',
  },
}
SCSS
$custom: #dcda73;
$custom-light: #e9e59d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda73",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 115
  },
  "hsl": {
    "h": 58.857,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86865,
    "c": 0.12604,
    "h": 107.8
  },
  "luminance": 0.66596
}

Semantic roles & 50–950 ramp

primary
#DCDA73
secondary
#4748AD
accent
#21C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDA73

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

Preview Lab → · Contrast checker → · Palette generator →

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