#DCD843#DCD843

#DCD843 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.0% C 0.163 H 107.9°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#DCD843
RGBrgb(220, 216, 67)
HSLhsl(58, 69%, 56%)
HSVhsv(58, 70%, 86%)
CMYKcmyk(0%, 1.8%, 69.5%, 13.7%)
CIE-LABlab(84.35, -15.65, 69.94)
CIE-LCHlch(84.35, 71.67, 102.62°)
OKLaboklab(85.97% -0.0501 0.1554)
OKLCHoklch(85.97% 0.163 107.9)
XYZxyz(55.0862, 64.7344, 14.9024)
Luminance0.6473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD843 #4347DC
analogous
#DC8C43 #DCD843 #94DC43
triadic
#DCD843 #43DCD8 #D843DC
tetradic
#DCD843 #43DC8C #4347DC #DC4394
square
#DCD843 #43DC8C #4347DC #DC4394
split-complementary
#DCD843 #4394DC #8C43DC
monochromatic
#8B881A #BEBA23 #DCD843 #E6E377 #EFEDAA

Accessibility & contrast

On white

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

On black

13.95
#DCD843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD843
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD843#FFFFFF#000000##000000
##DCD8431.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD02A
Deuteranopia (green-blind)
#ECD54E
Tritanopia (blue-blind)
#ECCABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd843;
/* rgb */ color: rgb(220, 216, 67);
/* oklch */ color: oklch(86.0% 0.163 107.9);
Tailwind
colors: {
  custom: {
    50: '#ebe380',
    500: '#dcd843',
    950: '#000000',
  },
}
SCSS
$custom: #dcd843;
$custom-light: #ebe380;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd843",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 58.431,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85968,
    "c": 0.16328,
    "h": 107.9
  },
  "luminance": 0.64733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD843

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

Preview Lab → · Contrast checker → · Palette generator →

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