#DFDD98#DFDD98

#DFDD98 is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.3% C 0.089 H 106.7°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#DFDD98
RGBrgb(223, 221, 152)
HSLhsl(58, 53%, 74%)
HSVhsv(58, 32%, 87%)
CMYKcmyk(0%, 0.9%, 31.8%, 12.5%)
CIE-LABlab(86.83, -9.72, 34.20)
CIE-LCHlch(86.83, 35.56, 105.87°)
OKLaboklab(88.31% -0.0254 0.0849)
OKLCHoklch(88.31% 0.089 106.7)
XYZxyz(61.9558, 69.6690, 39.8834)
Luminance0.6967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDD98 #989ADF
analogous
#DFB998 #DFDD98 #BDDF98
triadic
#DFDD98 #98DFDD #DD98DF
tetradic
#DFDD98 #98DFB9 #989ADF #DF98BD
square
#DFDD98 #98DFB9 #989ADF #DF98BD
split-complementary
#DFDD98 #98BDDF #B998DF
monochromatic
#C1BD3C #D0CE69 #DFDD98 #EEECC7 #F8F7E8

Accessibility & contrast

On white

1.41
#DFDD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#DFDD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDD98
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDD98#FFFFFF#000000##000000
##DFDD981.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D893
Deuteranopia (green-blind)
#EADB9B
Tritanopia (blue-blind)
#E9D4CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdd98;
/* rgb */ color: rgb(223, 221, 152);
/* oklch */ color: oklch(88.3% 0.089 106.7);
Tailwind
colors: {
  custom: {
    50: '#eae7b7',
    500: '#dfdd98',
    950: '#000000',
  },
}
SCSS
$custom: #dfdd98;
$custom-light: #eae7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdd98",
  "rgb": {
    "r": 223,
    "g": 221,
    "b": 152
  },
  "hsl": {
    "h": 58.31,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.88308,
    "c": 0.08867,
    "h": 106.7
  },
  "luminance": 0.69668
}

Semantic roles & 50–950 ramp

primary
#DFDD98
secondary
#6466B7
accent
#2AC025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DFDD98

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

Preview Lab → · Contrast checker → · Palette generator →

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