#DCDA97#DCDA97

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

Color values

HEX#DCDA97
RGBrgb(220, 218, 151)
HSLhsl(58, 50%, 73%)
HSVhsv(58, 31%, 86%)
CMYKcmyk(0%, 0.9%, 31.4%, 13.7%)
CIE-LABlab(85.80, -9.48, 33.31)
CIE-LCHlch(85.80, 34.63, 105.88°)
OKLaboklab(87.43% -0.0247 0.0828)
OKLCHoklch(87.43% 0.086 106.6)
XYZxyz(60.1729, 67.5939, 39.1492)
Luminance0.6759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA97 #9799DC
analogous
#DCB797 #DCDA97 #BBDC97
triadic
#DCDA97 #97DCDA #DA97DC
tetradic
#DCDA97 #97DCB7 #9799DC #DC97BB
square
#DCDA97 #97DCB7 #9799DC #DC97BB
split-complementary
#DCDA97 #97BBDC #B797DC
monochromatic
#BAB63F #CDCA69 #DCDA97 #EBEAC5 #F7F7E8

Accessibility & contrast

On white

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

On black

14.52
#DCDA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA97
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA97#FFFFFF#000000##000000
##DCDA971.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D592
Deuteranopia (green-blind)
#E7D89A
Tritanopia (blue-blind)
#E6D2C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcda97;
/* rgb */ color: rgb(220, 218, 151);
/* oklch */ color: oklch(87.4% 0.086 106.6);
Tailwind
colors: {
  custom: {
    50: '#e7e5b6',
    500: '#dcda97',
    950: '#000000',
  },
}
SCSS
$custom: #dcda97;
$custom-light: #e7e5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda97",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 151
  },
  "hsl": {
    "h": 58.261,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87428,
    "c": 0.08644,
    "h": 106.6
  },
  "luminance": 0.67593
}

Semantic roles & 50–950 ramp

primary
#DCDA97
secondary
#6466B4
accent
#2DBD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCDA97

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

Preview Lab → · Contrast checker → · Palette generator →

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