#DCDA96#DCDA96

#DCDA96 is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.4% C 0.088 H 106.7°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#DCDA96
RGBrgb(220, 218, 150)
HSLhsl(58, 50%, 73%)
HSVhsv(58, 32%, 86%)
CMYKcmyk(0%, 0.9%, 31.8%, 13.7%)
CIE-LABlab(85.79, -9.60, 33.80)
CIE-LCHlch(85.79, 35.13, 105.86°)
OKLaboklab(87.41% -0.0251 0.084)
OKLCHoklch(87.41% 0.088 106.7)
XYZxyz(60.0921, 67.5616, 38.7234)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA96 #9698DC
analogous
#DCB796 #DCDA96 #BBDC96
triadic
#DCDA96 #96DCDA #DA96DC
tetradic
#DCDA96 #96DCB7 #9698DC #DC96BB
square
#DCDA96 #96DCB7 #9698DC #DC96BB
split-complementary
#DCDA96 #96BBDC #B796DC
monochromatic
#BAB63E #CDCA68 #DCDA96 #EBEAC4 #F7F7E8

Accessibility & contrast

On white

1.45
#DCDA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#DCDA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA96
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA96#FFFFFF#000000##000000
##DCDA961.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D591
Deuteranopia (green-blind)
#E7D899
Tritanopia (blue-blind)
#E6D2C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcda96;
/* rgb */ color: rgb(220, 218, 150);
/* oklch */ color: oklch(87.4% 0.088 106.7);
Tailwind
colors: {
  custom: {
    50: '#e7e5b5',
    500: '#dcda96',
    950: '#000000',
  },
}
SCSS
$custom: #dcda96;
$custom-light: #e7e5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda96",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 150
  },
  "hsl": {
    "h": 58.286,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.8741,
    "c": 0.08762,
    "h": 106.7
  },
  "luminance": 0.6756
}

Semantic roles & 50–950 ramp

primary
#DCDA96
secondary
#6365B4
accent
#2CBD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCDA96

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

Preview Lab → · Contrast checker → · Palette generator →

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