#DCCF97#DCCF97

#DCCF97 is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 85.2% C 0.074 H 96.6°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#DCCF97
RGBrgb(220, 207, 151)
HSLhsl(49, 50%, 73%)
HSVhsv(49, 31%, 86%)
CMYKcmyk(0%, 5.9%, 31.4%, 13.7%)
CIE-LABlab(82.95, -3.86, 29.52)
CIE-LCHlch(82.95, 29.77, 97.45°)
OKLaboklab(85.17% -0.0086 0.0739)
OKLCHoklch(85.17% 0.074 96.6)
XYZxyz(57.4145, 62.0771, 38.2298)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCF97 #97A4DC
analogous
#DCAD97 #DCCF97 #C6DC97
triadic
#DCCF97 #97DCCF #CF97DC
tetradic
#DCCF97 #97DCAD #97A4DC #DC97C6
square
#DCCF97 #97DCAD #97A4DC #DC97C6
split-complementary
#DCCF97 #97C6DC #AD97DC
monochromatic
#BAA33F #CDBA69 #DCCF97 #EBE4C5 #F7F4E8

Accessibility & contrast

On white

1.57
#DCCF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#DCCF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCF97
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCF97#FFFFFF#000000##000000
##DCCF971.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACC93
Deuteranopia (green-blind)
#DED199
Tritanopia (blue-blind)
#E7C7C0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dccf97;
/* rgb */ color: rgb(220, 207, 151);
/* oklch */ color: oklch(85.2% 0.074 96.6);
Tailwind
colors: {
  custom: {
    50: '#e7ddb6',
    500: '#dccf97',
    950: '#000000',
  },
}
SCSS
$custom: #dccf97;
$custom-light: #e7ddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dccf97",
  "rgb": {
    "r": 220,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 48.696,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.85173,
    "c": 0.07438,
    "h": 96.6
  },
  "luminance": 0.62076
}

Semantic roles & 50–950 ramp

primary
#DCCF97
secondary
#6473B4
accent
#44BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCCF97

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

Preview Lab → · Contrast checker → · Palette generator →

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