#DCD296#DCD296

#DCD296 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.079 H 99.8°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#DCD296
RGBrgb(220, 210, 150)
HSLhsl(51, 50%, 73%)
HSVhsv(51, 32%, 86%)
CMYKcmyk(0%, 4.5%, 31.8%, 13.7%)
CIE-LABlab(83.71, -5.53, 31.04)
CIE-LCHlch(83.71, 31.53, 100.09°)
OKLaboklab(85.77% -0.0134 0.0775)
OKLCHoklch(85.77% 0.079 99.8)
XYZxyz(58.0674, 63.5122, 38.0485)
Luminance0.6351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD296 #96A0DC
analogous
#DCAF96 #DCD296 #C3DC96
triadic
#DCD296 #96DCD2 #D296DC
tetradic
#DCD296 #96DCAF #96A0DC #DC96C3
square
#DCD296 #96DCAF #96A0DC #DC96C3
split-complementary
#DCD296 #96C3DC #AF96DC
monochromatic
#BAA83E #CDBE68 #DCD296 #EBE6C4 #F7F5E8

Accessibility & contrast

On white

1.53
#DCD296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#DCD296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD296
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD296#FFFFFF#000000##000000
##DCD2961.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE92
Deuteranopia (green-blind)
#E0D398
Tritanopia (blue-blind)
#E6CAC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd296;
/* rgb */ color: rgb(220, 210, 150);
/* oklch */ color: oklch(85.8% 0.079 99.8);
Tailwind
colors: {
  custom: {
    50: '#e7dfb5',
    500: '#dcd296',
    950: '#000000',
  },
}
SCSS
$custom: #dcd296;
$custom-light: #e7dfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd296",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 51.429,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.85766,
    "c": 0.07863,
    "h": 99.8
  },
  "luminance": 0.63511
}

Semantic roles & 50–950 ramp

primary
#DCD296
secondary
#636EB4
accent
#3DBD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD296

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

Preview Lab → · Contrast checker → · Palette generator →

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