#DCD965#DCD965

#DCD965 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.138 H 107.6°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#DCD965
RGBrgb(220, 217, 101)
HSLhsl(58, 63%, 63%)
HSVhsv(58, 54%, 86%)
CMYKcmyk(0%, 1.4%, 54.1%, 13.7%)
CIE-LABlab(84.89, -14.00, 56.54)
CIE-LCHlch(84.89, 58.25, 103.90°)
OKLaboklab(86.49% -0.0418 0.1318)
OKLCHoklch(86.49% 0.138 107.6)
XYZxyz(56.6786, 65.7825, 22.0210)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD965 #6568DC
analogous
#DC9D65 #DCD965 #A4DC65
triadic
#DCD965 #65DCD9 #D965DC
tetradic
#DCD965 #65DC9D #6568DC #DC65A4
square
#DCD965 #65DC9D #6568DC #DC65A4
split-complementary
#DCD965 #65A4DC #9D65DC
monochromatic
#A29F25 #D1CD33 #DCD965 #E7E597 #F3F2C9

Accessibility & contrast

On white

1.48
#DCD965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#DCD965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD965
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD965#FFFFFF#000000##000000
##DCD9651.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D159
Deuteranopia (green-blind)
#EBD66B
Tritanopia (blue-blind)
#EACDBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd965;
/* rgb */ color: rgb(220, 217, 101);
/* oklch */ color: oklch(86.5% 0.138 107.6);
Tailwind
colors: {
  custom: {
    50: '#e9e494',
    500: '#dcd965',
    950: '#000000',
  },
}
SCSS
$custom: #dcd965;
$custom-light: #e9e494;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd965",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 101
  },
  "hsl": {
    "h": 58.487,
    "s": 62.963,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86485,
    "c": 0.13826,
    "h": 107.6
  },
  "luminance": 0.65781
}

Semantic roles & 50–950 ramp

primary
#DCD965
secondary
#4043A5
accent
#1FCB1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD965

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

Preview Lab → · Contrast checker → · Palette generator →

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