#DCDD97#DCDD97

#DCDD97 is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.0% C 0.090 H 108.8°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#DCDD97
RGBrgb(220, 221, 151)
HSLhsl(61, 51%, 73%)
HSVhsv(61, 32%, 87%)
CMYKcmyk(0.5%, 0%, 31.7%, 13.3%)
CIE-LABlab(86.59, -10.99, 34.34)
CIE-LCHlch(86.59, 36.05, 107.75°)
OKLaboklab(88.05% -0.029 0.0853)
OKLCHoklch(88.05% 0.09 108.8)
XYZxyz(60.9579, 69.1639, 39.4109)
Luminance0.6916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDD97 #9897DD
analogous
#DDBB97 #DCDD97 #B9DD97
triadic
#DCDD97 #97DCDD #DD97DC
tetradic
#DCDD97 #97DDBB #9897DD #DD97B9
square
#DCDD97 #97DDBB #9897DD #DD97B9
split-complementary
#DCDD97 #97B9DD #BB97DD
monochromatic
#BABC3D #CCCE69 #DCDD97 #ECECC5 #F7F7E8

Accessibility & contrast

On white

1.42
#DCDD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#DCDD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDD97
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDD97#FFFFFF#000000##000000
##DCDD971.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D792
Deuteranopia (green-blind)
#E9DA9A
Tritanopia (blue-blind)
#E6D5CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dcdd97;
/* rgb */ color: rgb(220, 221, 151);
/* oklch */ color: oklch(88.0% 0.090 108.8);
Tailwind
colors: {
  custom: {
    50: '#e7e7b6',
    500: '#dcdd97',
    950: '#000000',
  },
}
SCSS
$custom: #dcdd97;
$custom-light: #e7e7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdd97",
  "rgb": {
    "r": 220,
    "g": 221,
    "b": 151
  },
  "hsl": {
    "h": 60.857,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.88048,
    "c": 0.09006,
    "h": 108.8
  },
  "luminance": 0.69163
}

Semantic roles & 50–950 ramp

primary
#DCDD97
secondary
#6463B5
accent
#27BE2A
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDD97

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

Preview Lab → · Contrast checker → · Palette generator →

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