#DCD861#DCD861

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

Color values

HEX#DCD861
RGBrgb(220, 216, 97)
HSLhsl(58, 64%, 62%)
HSVhsv(58, 56%, 86%)
CMYKcmyk(0%, 1.8%, 55.9%, 13.7%)
CIE-LABlab(84.58, -13.81, 58.00)
CIE-LCHlch(84.58, 59.62, 103.39°)
OKLaboklab(86.23% -0.0417 0.1344)
OKLCHoklch(86.23% 0.141 107.2)
XYZxyz(56.2304, 65.1921, 20.9282)
Luminance0.6519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD861 #6165DC
analogous
#DC9B61 #DCD861 #A2DC61
triadic
#DCD861 #61DCD8 #D861DC
tetradic
#DCD861 #61DC9B #6165DC #DC61A2
square
#DCD861 #61DC9B #6165DC #DC61A2
split-complementary
#DCD861 #61A2DC #9B61DC
monochromatic
#9F9B23 #D1CC2F #DCD861 #E7E493 #F2F1C5

Accessibility & contrast

On white

1.50
#DCD861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#DCD861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD861
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD861#FFFFFF#000000##000000
##DCD8611.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D055
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#EACCBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd861;
/* rgb */ color: rgb(220, 216, 97);
/* oklch */ color: oklch(86.2% 0.141 107.2);
Tailwind
colors: {
  custom: {
    50: '#e9e392',
    500: '#dcd861',
    950: '#000000',
  },
}
SCSS
$custom: #dcd861;
$custom-light: #e9e392;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd861",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 58.049,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86232,
    "c": 0.14077,
    "h": 107.2
  },
  "luminance": 0.6519
}

Semantic roles & 50–950 ramp

primary
#DCD861
secondary
#3E42A3
accent
#20CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD861

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

Preview Lab → · Contrast checker → · Palette generator →

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