#DCD865#DCD865

#DCD865 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.137 H 107.1°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#DCD865
RGBrgb(220, 216, 101)
HSLhsl(58, 63%, 63%)
HSVhsv(58, 54%, 86%)
CMYKcmyk(0%, 1.8%, 54.1%, 13.7%)
CIE-LABlab(84.62, -13.50, 56.24)
CIE-LCHlch(84.62, 57.84, 103.50°)
OKLaboklab(86.28% -0.0404 0.1311)
OKLCHoklch(86.28% 0.137 107.1)
XYZxyz(56.4216, 65.2686, 21.9354)
Luminance0.6527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD865 #6569DC
analogous
#DC9C65 #DCD865 #A4DC65
triadic
#DCD865 #65DCD8 #D865DC
tetradic
#DCD865 #65DC9C #6569DC #DC65A4
square
#DCD865 #65DC9C #6569DC #DC65A4
split-complementary
#DCD865 #65A4DC #9C65DC
monochromatic
#A29E25 #D1CB33 #DCD865 #E7E597 #F3F1C9

Accessibility & contrast

On white

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

On black

14.05
#DCD865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD865
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD865#FFFFFF#000000##000000
##DCD8651.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd865;
/* rgb */ color: rgb(220, 216, 101);
/* oklch */ color: oklch(86.3% 0.137 107.1);
Tailwind
colors: {
  custom: {
    50: '#e9e394',
    500: '#dcd865',
    950: '#000000',
  },
}
SCSS
$custom: #dcd865;
$custom-light: #e9e394;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd865",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 101
  },
  "hsl": {
    "h": 57.983,
    "s": 62.963,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86276,
    "c": 0.13722,
    "h": 107.1
  },
  "luminance": 0.65267
}

Semantic roles & 50–950 ramp

primary
#DCD865
secondary
#4043A5
accent
#21CB1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD865

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

Preview Lab → · Contrast checker → · Palette generator →

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