#DFD898#DFD898

#DFD898 is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.083 H 102.7°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#DFD898
RGBrgb(223, 216, 152)
HSLhsl(54, 53%, 74%)
HSVhsv(54, 32%, 87%)
CMYKcmyk(0%, 3.1%, 31.8%, 12.5%)
CIE-LABlab(85.54, -7.19, 32.49)
CIE-LCHlch(85.54, 33.27, 102.48°)
OKLaboklab(87.28% -0.0182 0.0809)
OKLCHoklch(87.28% 0.083 102.7)
XYZxyz(60.6553, 67.0680, 39.4499)
Luminance0.6707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD898 #989FDF
analogous
#DFB498 #DFD898 #C2DF98
triadic
#DFD898 #98DFD8 #D898DF
tetradic
#DFD898 #98DFB4 #989FDF #DF98C2
square
#DFD898 #98DFB4 #989FDF #DF98C2
split-complementary
#DFD898 #98C2DF #B498DF
monochromatic
#C1B43C #D0C669 #DFD898 #EEEAC7 #F8F6E8

Accessibility & contrast

On white

1.46
#DFD898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#DFD898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD898
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD898#FFFFFF#000000##000000
##DFD8981.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D494
Deuteranopia (green-blind)
#E6D89A
Tritanopia (blue-blind)
#E9D0C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd898;
/* rgb */ color: rgb(223, 216, 152);
/* oklch */ color: oklch(87.3% 0.083 102.7);
Tailwind
colors: {
  custom: {
    50: '#eae3b7',
    500: '#dfd898',
    950: '#000000',
  },
}
SCSS
$custom: #dfd898;
$custom-light: #eae3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd898",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 152
  },
  "hsl": {
    "h": 54.085,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.87281,
    "c": 0.08294,
    "h": 102.7
  },
  "luminance": 0.67067
}

Semantic roles & 50–950 ramp

primary
#DFD898
secondary
#646CB7
accent
#35C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD898

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

Preview Lab → · Contrast checker → · Palette generator →

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