#DFD498#DFD498

#DFD498 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.5% C 0.079 H 99.0°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#DFD498
RGBrgb(223, 212, 152)
HSLhsl(51, 53%, 74%)
HSVhsv(51, 32%, 87%)
CMYKcmyk(0%, 4.9%, 31.8%, 12.5%)
CIE-LABlab(84.51, -5.15, 31.11)
CIE-LCHlch(84.51, 31.54, 99.40°)
OKLaboklab(86.47% -0.0123 0.0777)
OKLCHoklch(86.47% 0.079 99)
XYZxyz(59.6430, 65.0434, 39.1124)
Luminance0.6504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD498 #98A3DF
analogous
#DFB098 #DFD498 #C6DF98
triadic
#DFD498 #98DFD4 #D498DF
tetradic
#DFD498 #98DFB0 #98A3DF #DF98C6
square
#DFD498 #98DFB0 #98A3DF #DF98C6
split-complementary
#DFD498 #98C6DF #B098DF
monochromatic
#C1AC3C #D0C169 #DFD498 #EEE7C7 #F8F5E8

Accessibility & contrast

On white

1.50
#DFD498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#DFD498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD498
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD498#FFFFFF#000000##000000
##DFD4981.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD094
Deuteranopia (green-blind)
#E3D59A
Tritanopia (blue-blind)
#EACCC4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd498;
/* rgb */ color: rgb(223, 212, 152);
/* oklch */ color: oklch(86.5% 0.079 99.0);
Tailwind
colors: {
  custom: {
    50: '#eae1b6',
    500: '#dfd498',
    950: '#000000',
  },
}
SCSS
$custom: #dfd498;
$custom-light: #eae1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd498",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 152
  },
  "hsl": {
    "h": 50.704,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.86465,
    "c": 0.07865,
    "h": 99
  },
  "luminance": 0.65042
}

Semantic roles & 50–950 ramp

primary
#DFD498
secondary
#6471B7
accent
#3DC025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD498

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

Preview Lab → · Contrast checker → · Palette generator →

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