#DFDC98#DFDC98

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

Color values

HEX#DFDC98
RGBrgb(223, 220, 152)
HSLhsl(57, 53%, 74%)
HSVhsv(57, 32%, 87%)
CMYKcmyk(0%, 1.3%, 31.8%, 12.5%)
CIE-LABlab(86.57, -9.22, 33.86)
CIE-LCHlch(86.57, 35.09, 105.23°)
OKLaboklab(88.1% -0.024 0.0841)
OKLCHoklch(88.1% 0.088 105.9)
XYZxyz(61.6926, 69.1425, 39.7956)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC98 #989BDF
analogous
#DFB898 #DFDC98 #BEDF98
triadic
#DFDC98 #98DFDC #DC98DF
tetradic
#DFDC98 #98DFB8 #989BDF #DF98BE
square
#DFDC98 #98DFB8 #989BDF #DF98BE
split-complementary
#DFDC98 #98BEDF #B898DF
monochromatic
#C1BB3C #D0CC69 #DFDC98 #EEECC7 #F8F7E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFDC98#FFFFFF#000000##000000
##DFDC981.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)
#E7D793
Deuteranopia (green-blind)
#E9DA9B
Tritanopia (blue-blind)
#E9D3CA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdc98;
/* rgb */ color: rgb(223, 220, 152);
/* oklch */ color: oklch(88.1% 0.087 105.9);
Tailwind
colors: {
  custom: {
    50: '#eae6b7',
    500: '#dfdc98',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc98;
$custom-light: #eae6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc98",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 57.465,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.88102,
    "c": 0.0875,
    "h": 105.9
  },
  "luminance": 0.69141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFDC98

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

Preview Lab → · Contrast checker → · Palette generator →

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