#DCD673#DCD673

#DCD673 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.0% C 0.122 H 105.6°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#DCD673
RGBrgb(220, 214, 115)
HSLhsl(57, 60%, 66%)
HSVhsv(57, 48%, 86%)
CMYKcmyk(0%, 2.7%, 47.7%, 13.7%)
CIE-LABlab(84.25, -11.31, 49.26)
CIE-LCHlch(84.25, 50.54, 102.93°)
OKLaboklab(86.03% -0.0327 0.1173)
OKLCHoklch(86.03% 0.122 105.6)
XYZxyz(56.6576, 64.5482, 25.6908)
Luminance0.6455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD673 #7379DC
analogous
#DCA173 #DCD673 #AEDC73
triadic
#DCD673 #73DCD6 #D673DC
tetradic
#DCD673 #73DCA1 #7379DC #DC73AE
square
#DCD673 #73DCA1 #7379DC #DC73AE
split-complementary
#DCD673 #73AEDC #A173DC
monochromatic
#AAA32B #D0C842 #DCD673 #E8E4A4 #F4F3D5

Accessibility & contrast

On white

1.51
#DCD673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#DCD673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD673
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD673#FFFFFF#000000##000000
##DCD6731.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06A
Deuteranopia (green-blind)
#E7D478
Tritanopia (blue-blind)
#E9CBBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd673;
/* rgb */ color: rgb(220, 214, 115);
/* oklch */ color: oklch(86.0% 0.122 105.6);
Tailwind
colors: {
  custom: {
    50: '#e9e29d',
    500: '#dcd673',
    950: '#000000',
  },
}
SCSS
$custom: #dcd673;
$custom-light: #e9e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd673",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 115
  },
  "hsl": {
    "h": 56.571,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8603,
    "c": 0.12173,
    "h": 105.6
  },
  "luminance": 0.64547
}

Semantic roles & 50–950 ramp

primary
#DCD673
secondary
#474CAD
accent
#28C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD673

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

Preview Lab → · Contrast checker → · Palette generator →

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