#DFD98D#DFD98D

#DFD98D is a very light, moderate yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.097 H 104.3°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#DFD98D
RGBrgb(223, 217, 141)
HSLhsl(56, 56%, 71%)
HSVhsv(56, 37%, 87%)
CMYKcmyk(0%, 2.7%, 36.8%, 12.5%)
CIE-LABlab(85.62, -8.99, 38.20)
CIE-LCHlch(85.62, 39.24, 103.25°)
OKLaboklab(87.29% -0.024 0.0939)
OKLCHoklch(87.29% 0.097 104.3)
XYZxyz(60.0528, 67.2382, 35.0089)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD98D #8D93DF
analogous
#DFB08D #DFD98D #BCDF8D
triadic
#DFD98D #8DDFD9 #D98DDF
tetradic
#DFD98D #8DDFB0 #8D93DF #DF8DBC
square
#DFD98D #8DDFB0 #8D93DF #DF8DBC
split-complementary
#DFD98D #8DBCDF #B08DDF
monochromatic
#BDB335 #D2C95D #DFD98D #ECE9BD #F8F7E7

Accessibility & contrast

On white

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

On black

14.45
#DFD98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD98D
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD98D#FFFFFF#000000##000000
##DFD98D1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D487
Deuteranopia (green-blind)
#E8D890
Tritanopia (blue-blind)
#EACFC6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd98d;
/* rgb */ color: rgb(223, 217, 141);
/* oklch */ color: oklch(87.3% 0.097 104.3);
Tailwind
colors: {
  custom: {
    50: '#eae4af',
    500: '#dfd98d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd98d;
$custom-light: #eae4af;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd98d",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 141
  },
  "hsl": {
    "h": 55.61,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87293,
    "c": 0.09687,
    "h": 104.3
  },
  "luminance": 0.67237
}

Semantic roles & 50–950 ramp

primary
#DFD98D
secondary
#5960B7
accent
#2EC422
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD98D

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

Preview Lab → · Contrast checker → · Palette generator →

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