#DCD95D#DCD95D

#DCD95D is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.145 H 107.8°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#DCD95D
RGBrgb(220, 217, 93)
HSLhsl(59, 64%, 61%)
HSVhsv(59, 58%, 86%)
CMYKcmyk(0%, 1.4%, 57.7%, 13.7%)
CIE-LABlab(84.81, -14.59, 60.01)
CIE-LCHlch(84.81, 61.76, 103.67°)
OKLaboklab(86.4% -0.0444 0.1383)
OKLCHoklch(86.4% 0.145 107.8)
XYZxyz(56.3055, 65.6333, 20.0563)
Luminance0.6563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD95D #5D60DC
analogous
#DC9A5D #DCD95D #A0DC5D
triadic
#DCD95D #5DDCD9 #D95DDC
tetradic
#DCD95D #5DDC9A #5D60DC #DC5DA0
square
#DCD95D #5DDC9A #5D60DC #DC5DA0
split-complementary
#DCD95D #5DA0DC #9A5DDC
monochromatic
#9D9A22 #CFCB2D #DCD95D #E7E58F #F2F1C2

Accessibility & contrast

On white

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

On black

14.13
#DCD95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD95D
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD95D#FFFFFF#000000##000000
##DCD95D1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14F
Deuteranopia (green-blind)
#ECD664
Tritanopia (blue-blind)
#EACCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd95d;
/* rgb */ color: rgb(220, 217, 93);
/* oklch */ color: oklch(86.4% 0.145 107.8);
Tailwind
colors: {
  custom: {
    50: '#eae48f',
    500: '#dcd95d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd95d;
$custom-light: #eae48f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd95d",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 58.583,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.864,
    "c": 0.14523,
    "h": 107.8
  },
  "luminance": 0.65632
}

Semantic roles & 50–950 ramp

primary
#DCD95D
secondary
#3D3FA1
accent
#1DCC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD95D

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

Preview Lab → · Contrast checker → · Palette generator →

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