#DFDC97#DFDC97

#DFDC97 is a very light, moderate yellow. Relative luminance 0.691; OKLCH L 88.1% C 0.089 H 106.0°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#DFDC97
RGBrgb(223, 220, 151)
HSLhsl(58, 53%, 73%)
HSVhsv(58, 32%, 87%)
CMYKcmyk(0%, 1.3%, 32.3%, 12.5%)
CIE-LABlab(86.56, -9.34, 34.35)
CIE-LCHlch(86.56, 35.59, 105.21°)
OKLaboklab(88.08% -0.0244 0.0853)
OKLCHoklch(88.08% 0.089 106)
XYZxyz(61.6111, 69.1099, 39.3661)
Luminance0.6911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC97 #979ADF
analogous
#DFB897 #DFDC97 #BEDF97
triadic
#DFDC97 #97DFDC #DC97DF
tetradic
#DFDC97 #97DFB8 #979ADF #DF97BE
square
#DFDC97 #97DFB8 #979ADF #DF97BE
split-complementary
#DFDC97 #97BEDF #B897DF
monochromatic
#C0BB3B #D1CC68 #DFDC97 #EDECC6 #F8F7E8

Accessibility & contrast

On white

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

On black

14.82
#DFDC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC97
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC97#FFFFFF#000000##000000
##DFDC971.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdc97;
/* rgb */ color: rgb(223, 220, 151);
/* oklch */ color: oklch(88.1% 0.089 106.0);
Tailwind
colors: {
  custom: {
    50: '#eae6b6',
    500: '#dfdc97',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc97;
$custom-light: #eae6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc97",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 57.5,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88084,
    "c": 0.08868,
    "h": 106
  },
  "luminance": 0.69109
}

Semantic roles & 50–950 ramp

primary
#DFDC97
secondary
#6366B7
accent
#2CC025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DFDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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