#DCD862#DCD862

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

Color values

HEX#DCD862
RGBrgb(220, 216, 98)
HSLhsl(58, 64%, 62%)
HSVhsv(58, 55%, 86%)
CMYKcmyk(0%, 1.8%, 55.5%, 13.7%)
CIE-LABlab(84.59, -13.73, 57.56)
CIE-LCHlch(84.59, 59.18, 103.42°)
OKLaboklab(86.24% -0.0414 0.1336)
OKLCHoklch(86.24% 0.14 107.2)
XYZxyz(56.2773, 65.2108, 21.1754)
Luminance0.6521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD862 #6266DC
analogous
#DC9B62 #DCD862 #A3DC62
triadic
#DCD862 #62DCD8 #D862DC
tetradic
#DCD862 #62DC9B #6266DC #DC62A3
square
#DCD862 #62DC9B #6266DC #DC62A3
split-complementary
#DCD862 #62A3DC #9B62DC
monochromatic
#A09C24 #D1CC30 #DCD862 #E7E494 #F2F1C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD862#FFFFFF#000000##000000
##DCD8621.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)
#E8D056
Deuteranopia (green-blind)
#EAD568
Tritanopia (blue-blind)
#EACCBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd862;
/* rgb */ color: rgb(220, 216, 98);
/* oklch */ color: oklch(86.2% 0.140 107.2);
Tailwind
colors: {
  custom: {
    50: '#e9e392',
    500: '#dcd862',
    950: '#000000',
  },
}
SCSS
$custom: #dcd862;
$custom-light: #e9e392;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd862",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 58.033,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86242,
    "c": 0.13989,
    "h": 107.2
  },
  "luminance": 0.65209
}

Semantic roles & 50–950 ramp

primary
#DCD862
secondary
#3F42A3
accent
#20CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD862

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

Preview Lab → · Contrast checker → · Palette generator →

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