#DCD943#DCD943

#DCD943 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.2% C 0.164 H 108.3°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#DCD943
RGBrgb(220, 217, 67)
HSLhsl(59, 69%, 56%)
HSVhsv(59, 70%, 86%)
CMYKcmyk(0%, 1.4%, 69.5%, 13.7%)
CIE-LABlab(84.61, -16.15, 70.20)
CIE-LCHlch(84.61, 72.04, 102.95°)
OKLaboklab(86.18% -0.0514 0.156)
OKLCHoklch(86.18% 0.164 108.3)
XYZxyz(55.3432, 65.2484, 14.9880)
Luminance0.6525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD943 #4346DC
analogous
#DC8D43 #DCD943 #93DC43
triadic
#DCD943 #43DCD9 #D943DC
tetradic
#DCD943 #43DC8D #4346DC #DC4393
square
#DCD943 #43DC8D #4346DC #DC4393
split-complementary
#DCD943 #4393DC #8D43DC
monochromatic
#8B891A #BEBB23 #DCD943 #E6E377 #EFEEAA

Accessibility & contrast

On white

1.49
#DCD943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#DCD943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD943
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD943#FFFFFF#000000##000000
##DCD9431.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD02A
Deuteranopia (green-blind)
#EDD64E
Tritanopia (blue-blind)
#ECCBBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd943;
/* rgb */ color: rgb(220, 217, 67);
/* oklch */ color: oklch(86.2% 0.164 108.3);
Tailwind
colors: {
  custom: {
    50: '#ebe480',
    500: '#dcd943',
    950: '#000000',
  },
}
SCSS
$custom: #dcd943;
$custom-light: #ebe480;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd943",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 67
  },
  "hsl": {
    "h": 58.824,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86179,
    "c": 0.16424,
    "h": 108.3
  },
  "luminance": 0.65247
}

Semantic roles & 50–950 ramp

primary
#DCD943
secondary
#333590
accent
#40EB3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD943

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

Preview Lab → · Contrast checker → · Palette generator →

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