#DCD295#DCD295

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

Color values

HEX#DCD295
RGBrgb(220, 210, 149)
HSLhsl(52, 50%, 72%)
HSVhsv(52, 32%, 86%)
CMYKcmyk(0%, 4.5%, 32.3%, 13.7%)
CIE-LABlab(83.69, -5.65, 31.54)
CIE-LCHlch(83.69, 32.04, 100.16°)
OKLaboklab(85.75% -0.0138 0.0786)
OKLCHoklch(85.75% 0.08 100)
XYZxyz(57.9872, 63.4801, 37.6262)
Luminance0.6348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD295 #959FDC
analogous
#DCAE95 #DCD295 #C3DC95
triadic
#DCD295 #95DCD2 #D295DC
tetradic
#DCD295 #95DCAE #959FDC #DC95C3
square
#DCD295 #95DCAE #959FDC #DC95C3
split-complementary
#DCD295 #95C3DC #AE95DC
monochromatic
#B9A83D #CDBE67 #DCD295 #EBE6C3 #F7F5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD295#FFFFFF#000000##000000
##DCD2951.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)
#DDCE91
Deuteranopia (green-blind)
#E0D397
Tritanopia (blue-blind)
#E7CAC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd295;
/* rgb */ color: rgb(220, 210, 149);
/* oklch */ color: oklch(85.7% 0.080 100.0);
Tailwind
colors: {
  custom: {
    50: '#e7dfb4',
    500: '#dcd295',
    950: '#000000',
  },
}
SCSS
$custom: #dcd295;
$custom-light: #e7dfb4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd295",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 149
  },
  "hsl": {
    "h": 51.549,
    "s": 50.355,
    "l": 72.353
  },
  "oklch": {
    "l": 0.85747,
    "c": 0.07983,
    "h": 100
  },
  "luminance": 0.63479
}

Semantic roles & 50–950 ramp

primary
#DCD295
secondary
#626DB4
accent
#3DBE28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD295

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

Preview Lab → · Contrast checker → · Palette generator →

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