#DCCE97#DCCE97

#DCCE97 is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.073 H 95.5°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#DCCE97
RGBrgb(220, 206, 151)
HSLhsl(48, 50%, 73%)
HSVhsv(48, 31%, 86%)
CMYKcmyk(0%, 6.4%, 31.4%, 13.7%)
CIE-LABlab(82.70, -3.35, 29.17)
CIE-LCHlch(82.70, 29.36, 96.54°)
OKLaboklab(84.97% -0.0071 0.0731)
OKLCHoklch(84.97% 0.073 95.5)
XYZxyz(57.1730, 61.5941, 38.1493)
Luminance0.6159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCE97 #97A5DC
analogous
#DCAB97 #DCCE97 #C7DC97
triadic
#DCCE97 #97DCCE #CE97DC
tetradic
#DCCE97 #97DCAB #97A5DC #DC97C7
square
#DCCE97 #97DCAB #97A5DC #DC97C7
split-complementary
#DCCE97 #97C7DC #AB97DC
monochromatic
#BAA13F #CDB869 #DCCE97 #EBE4C5 #F7F4E8

Accessibility & contrast

On white

1.58
#DCCE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#DCCE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCE97
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCE97#FFFFFF#000000##000000
##DCCE971.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CB93
Deuteranopia (green-blind)
#DDD099
Tritanopia (blue-blind)
#E7C6C0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcce97;
/* rgb */ color: rgb(220, 206, 151);
/* oklch */ color: oklch(85.0% 0.073 95.5);
Tailwind
colors: {
  custom: {
    50: '#e7dcb6',
    500: '#dcce97',
    950: '#000000',
  },
}
SCSS
$custom: #dcce97;
$custom-light: #e7dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcce97",
  "rgb": {
    "r": 220,
    "g": 206,
    "b": 151
  },
  "hsl": {
    "h": 47.826,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.8497,
    "c": 0.0734,
    "h": 95.5
  },
  "luminance": 0.61593
}

Semantic roles & 50–950 ramp

primary
#DCCE97
secondary
#6474B4
accent
#47BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCCE97

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

Preview Lab → · Contrast checker → · Palette generator →

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