#DFD98C#DFD98C

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

Color values

HEX#DFD98C
RGBrgb(223, 217, 140)
HSLhsl(56, 56%, 71%)
HSVhsv(56, 37%, 87%)
CMYKcmyk(0%, 2.7%, 37.2%, 12.5%)
CIE-LABlab(85.61, -9.10, 38.68)
CIE-LCHlch(85.61, 39.74, 103.24°)
OKLaboklab(87.28% -0.0244 0.0949)
OKLCHoklch(87.28% 0.098 104.4)
XYZxyz(59.9788, 67.2085, 34.6189)
Luminance0.6721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD98C #8C92DF
analogous
#DFAF8C #DFD98C #BBDF8C
triadic
#DFD98C #8CDFD9 #D98CDF
tetradic
#DFD98C #8CDFAF #8C92DF #DF8CBB
square
#DFD98C #8CDFAF #8C92DF #DF8CBB
split-complementary
#DFD98C #8CBBDF #AF8CDF
monochromatic
#BCB234 #D2C95C #DFD98C #ECE9BC #F8F7E7

Accessibility & contrast

On white

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

On black

14.44
#DFD98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD98C
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD98C#FFFFFF#000000##000000
##DFD98C1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd98c;
/* rgb */ color: rgb(223, 217, 140);
/* oklch */ color: oklch(87.3% 0.098 104.4);
Tailwind
colors: {
  custom: {
    50: '#eae4ae',
    500: '#dfd98c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd98c;
$custom-light: #eae4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd98c",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 140
  },
  "hsl": {
    "h": 55.663,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87276,
    "c": 0.098,
    "h": 104.4
  },
  "luminance": 0.67207
}

Semantic roles & 50–950 ramp

primary
#DFD98C
secondary
#585FB7
accent
#2DC421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD98C

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

Preview Lab → · Contrast checker → · Palette generator →

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