#DCD946#DCD946

#DCD946 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.2% C 0.162 H 108.2°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#DCD946
RGBrgb(220, 217, 70)
HSLhsl(59, 68%, 57%)
HSVhsv(59, 68%, 86%)
CMYKcmyk(0%, 1.4%, 68.2%, 13.7%)
CIE-LABlab(84.63, -16.00, 69.13)
CIE-LCHlch(84.63, 70.96, 103.03°)
OKLaboklab(86.2% -0.0507 0.1542)
OKLCHoklch(86.2% 0.162 108.2)
XYZxyz(55.4355, 65.2853, 15.4743)
Luminance0.6528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD946 #4649DC
analogous
#DC8E46 #DCD946 #94DC46
triadic
#DCD946 #46DCD9 #D946DC
tetradic
#DCD946 #46DC8E #4649DC #DC4694
square
#DCD946 #46DC8E #4649DC #DC4694
split-complementary
#DCD946 #4694DC #8E46DC
monochromatic
#8D8B1B #C0BD24 #DCD946 #E6E479 #EFEEAD

Accessibility & contrast

On white

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

On black

14.06
#DCD946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD946
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD946#FFFFFF#000000##000000
##DCD9461.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD02F
Deuteranopia (green-blind)
#EDD650
Tritanopia (blue-blind)
#EBCBBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd946;
/* rgb */ color: rgb(220, 217, 70);
/* oklch */ color: oklch(86.2% 0.162 108.2);
Tailwind
colors: {
  custom: {
    50: '#eae482',
    500: '#dcd946',
    950: '#000000',
  },
}
SCSS
$custom: #dcd946;
$custom-light: #eae482;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd946",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 70
  },
  "hsl": {
    "h": 58.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.862,
    "c": 0.16234,
    "h": 108.2
  },
  "luminance": 0.65284
}

Semantic roles & 50–950 ramp

primary
#DCD946
secondary
#343692
accent
#40EB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD946

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

Preview Lab → · Contrast checker → · Palette generator →

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