#DFD398#DFD398

#DFD398 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.078 H 98.0°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#DFD398
RGBrgb(223, 211, 152)
HSLhsl(50, 53%, 74%)
HSVhsv(50, 32%, 87%)
CMYKcmyk(0%, 5.4%, 31.8%, 12.5%)
CIE-LABlab(84.25, -4.64, 30.77)
CIE-LCHlch(84.25, 31.12, 98.57°)
OKLaboklab(86.26% -0.0108 0.0769)
OKLCHoklch(86.26% 0.078 98)
XYZxyz(59.3938, 64.5450, 39.0294)
Luminance0.6454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD398 #98A4DF
analogous
#DFAF98 #DFD398 #C7DF98
triadic
#DFD398 #98DFD3 #D398DF
tetradic
#DFD398 #98DFAF #98A4DF #DF98C7
square
#DFD398 #98DFAF #98A4DF #DF98C7
split-complementary
#DFD398 #98C7DF #AF98DF
monochromatic
#C1AA3C #D0BF69 #DFD398 #EEE7C7 #F8F5E8

Accessibility & contrast

On white

1.51
#DFD398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#DFD398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD398
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD398#FFFFFF#000000##000000
##DFD3981.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DED094
Deuteranopia (green-blind)
#E2D49A
Tritanopia (blue-blind)
#EACBC4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd398;
/* rgb */ color: rgb(223, 211, 152);
/* oklch */ color: oklch(86.3% 0.078 98.0);
Tailwind
colors: {
  custom: {
    50: '#eae0b6',
    500: '#dfd398',
    950: '#000000',
  },
}
SCSS
$custom: #dfd398;
$custom-light: #eae0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd398",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 152
  },
  "hsl": {
    "h": 49.859,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.86261,
    "c": 0.07763,
    "h": 98
  },
  "luminance": 0.64544
}

Semantic roles & 50–950 ramp

primary
#DFD398
secondary
#6472B7
accent
#40C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD398

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

Preview Lab → · Contrast checker → · Palette generator →

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