#DFD998#DFD998

#DFD998 is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.084 H 103.5°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#DFD998
RGBrgb(223, 217, 152)
HSLhsl(55, 53%, 74%)
HSVhsv(55, 32%, 87%)
CMYKcmyk(0%, 2.7%, 31.8%, 12.5%)
CIE-LABlab(85.80, -7.70, 32.83)
CIE-LCHlch(85.80, 33.72, 103.20°)
OKLaboklab(87.49% -0.0196 0.0817)
OKLCHoklch(87.49% 0.084 103.5)
XYZxyz(60.9123, 67.5820, 39.5355)
Luminance0.6758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD998 #989EDF
analogous
#DFB598 #DFD998 #C1DF98
triadic
#DFD998 #98DFD9 #D998DF
tetradic
#DFD998 #98DFB5 #989EDF #DF98C1
square
#DFD998 #98DFB5 #989EDF #DF98C1
split-complementary
#DFD998 #98C1DF #B598DF
monochromatic
#C1B53C #D0C869 #DFD998 #EEEAC7 #F8F6E8

Accessibility & contrast

On white

1.45
#DFD998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#DFD998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD998
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD998#FFFFFF#000000##000000
##DFD9981.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D494
Deuteranopia (green-blind)
#E7D89A
Tritanopia (blue-blind)
#E9D1C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd998;
/* rgb */ color: rgb(223, 217, 152);
/* oklch */ color: oklch(87.5% 0.084 103.5);
Tailwind
colors: {
  custom: {
    50: '#eae4b7',
    500: '#dfd998',
    950: '#000000',
  },
}
SCSS
$custom: #dfd998;
$custom-light: #eae4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd998",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 152
  },
  "hsl": {
    "h": 54.93,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.87486,
    "c": 0.08405,
    "h": 103.5
  },
  "luminance": 0.67581
}

Semantic roles & 50–950 ramp

primary
#DFD998
secondary
#646BB7
accent
#33C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD998

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

Preview Lab → · Contrast checker → · Palette generator →

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