#DCD95C#DCD95C

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

Color values

HEX#DCD95C
RGBrgb(220, 217, 92)
HSLhsl(59, 65%, 61%)
HSVhsv(59, 58%, 86%)
CMYKcmyk(0%, 1.4%, 58.2%, 13.7%)
CIE-LABlab(84.80, -14.66, 60.44)
CIE-LCHlch(84.80, 62.19, 103.64°)
OKLaboklab(86.39% -0.0447 0.1391)
OKLCHoklch(86.39% 0.146 107.8)
XYZxyz(56.2615, 65.6157, 19.8246)
Luminance0.6561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD95C #5C5FDC
analogous
#DC995C #DCD95C #9FDC5C
triadic
#DCD95C #5CDCD9 #D95CDC
tetradic
#DCD95C #5CDC99 #5C5FDC #DC5C9F
square
#DCD95C #5CDC99 #5C5FDC #DC5C9F
split-complementary
#DCD95C #5C9FDC #995CDC
monochromatic
#9C9922 #CECB2C #DCD95C #E7E58E #F2F0C1

Accessibility & contrast

On white

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

On black

14.12
#DCD95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD95C
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD95C#FFFFFF#000000##000000
##DCD95C1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd95c;
/* rgb */ color: rgb(220, 217, 92);
/* oklch */ color: oklch(86.4% 0.146 107.8);
Tailwind
colors: {
  custom: {
    50: '#eae48f',
    500: '#dcd95c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd95c;
$custom-light: #eae48f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd95c",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 58.594,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8639,
    "c": 0.14606,
    "h": 107.8
  },
  "luminance": 0.65614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD95C

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

Preview Lab → · Contrast checker → · Palette generator →

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