#DCDF96#DCDF96

#DCDF96 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.4% C 0.094 H 110.2°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#DCDF96
RGBrgb(220, 223, 150)
HSLhsl(62, 53%, 73%)
HSVhsv(62, 33%, 87%)
CMYKcmyk(1.3%, 0%, 32.7%, 12.5%)
CIE-LABlab(87.09, -12.11, 35.51)
CIE-LCHlch(87.09, 37.52, 108.84°)
OKLaboklab(88.45% -0.0323 0.088)
OKLCHoklch(88.45% 0.094 110.2)
XYZxyz(61.4083, 70.1939, 39.1621)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDF96 #9996DF
analogous
#DFBD96 #DCDF96 #B7DF96
triadic
#DCDF96 #96DCDF #DF96DC
tetradic
#DCDF96 #96DFBD #9996DF #DF96B7
square
#DCDF96 #96DFBD #9996DF #DF96B7
split-complementary
#DCDF96 #96B7DF #BD96DF
monochromatic
#BBC03B #CCD167 #DCDF96 #ECEDC5 #F7F8E8

Accessibility & contrast

On white

1.40
#DCDF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#DCDF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDF96
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDF96#FFFFFF#000000##000000
##DCDF961.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD991
Deuteranopia (green-blind)
#EBDB99
Tritanopia (blue-blind)
#E6D6CC
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dcdf96;
/* rgb */ color: rgb(220, 223, 150);
/* oklch */ color: oklch(88.4% 0.094 110.2);
Tailwind
colors: {
  custom: {
    50: '#e8e8b5',
    500: '#dcdf96',
    950: '#000000',
  },
}
SCSS
$custom: #dcdf96;
$custom-light: #e8e8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdf96",
  "rgb": {
    "r": 220,
    "g": 223,
    "b": 150
  },
  "hsl": {
    "h": 62.466,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.88446,
    "c": 0.09371,
    "h": 110.2
  },
  "luminance": 0.70193
}

Semantic roles & 50–950 ramp

primary
#DCDF96
secondary
#6562B7
accent
#25C12B
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDF96

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

Preview Lab → · Contrast checker → · Palette generator →

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