#DCD995#DCD995

#DCD995 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.088 H 105.9°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#DCD995
RGBrgb(220, 217, 149)
HSLhsl(57, 50%, 72%)
HSVhsv(57, 32%, 86%)
CMYKcmyk(0%, 1.4%, 32.3%, 13.7%)
CIE-LABlab(85.51, -9.21, 33.94)
CIE-LCHlch(85.51, 35.17, 105.19°)
OKLaboklab(87.19% -0.0241 0.0843)
OKLCHoklch(87.19% 0.088 105.9)
XYZxyz(59.7534, 67.0124, 38.2149)
Luminance0.6701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD995 #9598DC
analogous
#DCB695 #DCD995 #BBDC95
triadic
#DCD995 #95DCD9 #D995DC
tetradic
#DCD995 #95DCB6 #9598DC #DC95BB
square
#DCD995 #95DCB6 #9598DC #DC95BB
split-complementary
#DCD995 #95BBDC #B695DC
monochromatic
#B9B43D #CDC967 #DCD995 #EBE9C3 #F7F7E8

Accessibility & contrast

On white

1.46
#DCD995 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#DCD995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD995
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD995#FFFFFF#000000##000000
##DCD9951.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D490
Deuteranopia (green-blind)
#E6D798
Tritanopia (blue-blind)
#E6D0C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcd995;
/* rgb */ color: rgb(220, 217, 149);
/* oklch */ color: oklch(87.2% 0.088 105.9);
Tailwind
colors: {
  custom: {
    50: '#e8e4b4',
    500: '#dcd995',
    950: '#000000',
  },
}
SCSS
$custom: #dcd995;
$custom-light: #e8e4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd995",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 149
  },
  "hsl": {
    "h": 57.465,
    "s": 50.355,
    "l": 72.353
  },
  "oklch": {
    "l": 0.87185,
    "c": 0.08763,
    "h": 105.9
  },
  "luminance": 0.67011
}

Semantic roles & 50–950 ramp

primary
#DCD995
secondary
#6265B4
accent
#2EBE28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD995

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

Preview Lab → · Contrast checker → · Palette generator →

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