#DCDF97#DCDF97

#DCDF97 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.5% C 0.093 H 110.2°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#DCDF97
RGBrgb(220, 223, 151)
HSLhsl(63, 53%, 73%)
HSVhsv(63, 32%, 87%)
CMYKcmyk(1.3%, 0%, 32.3%, 12.5%)
CIE-LABlab(87.11, -11.99, 35.03)
CIE-LCHlch(87.11, 37.02, 108.90°)
OKLaboklab(88.46% -0.0319 0.0869)
OKLCHoklch(88.46% 0.093 110.2)
XYZxyz(61.4891, 70.2263, 39.5880)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDF97 #9A97DF
analogous
#DFBE97 #DCDF97 #B8DF97
triadic
#DCDF97 #97DCDF #DF97DC
tetradic
#DCDF97 #97DFBE #9A97DF #DF97B8
square
#DCDF97 #97DFBE #9A97DF #DF97B8
split-complementary
#DCDF97 #97B8DF #BE97DF
monochromatic
#BBC03B #CCD168 #DCDF97 #ECEDC6 #F7F8E8

Accessibility & contrast

On white

1.40
#DCDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#DCDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDF97
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDF97#FFFFFF#000000##000000
##DCDF971.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD992
Deuteranopia (green-blind)
#EBDB9A
Tritanopia (blue-blind)
#E5D7CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dcdf97;
/* rgb */ color: rgb(220, 223, 151);
/* oklch */ color: oklch(88.5% 0.093 110.2);
Tailwind
colors: {
  custom: {
    50: '#e7e8b6',
    500: '#dcdf97',
    950: '#000000',
  },
}
SCSS
$custom: #dcdf97;
$custom-light: #e7e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdf97",
  "rgb": {
    "r": 220,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 62.5,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88463,
    "c": 0.09254,
    "h": 110.2
  },
  "luminance": 0.70225
}

Semantic roles & 50–950 ramp

primary
#DCDF97
secondary
#6663B7
accent
#25C02C
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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