#DFD198#DFD198

#DFD198 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.9% C 0.076 H 96.0°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#DFD198
RGBrgb(223, 209, 152)
HSLhsl(48, 53%, 74%)
HSVhsv(48, 32%, 87%)
CMYKcmyk(0%, 6.3%, 31.8%, 12.5%)
CIE-LABlab(83.73, -3.61, 30.08)
CIE-LCHlch(83.73, 30.30, 96.84°)
OKLaboklab(85.86% -0.0079 0.0752)
OKLCHoklch(85.86% 0.076 96)
XYZxyz(58.9001, 63.5574, 38.8648)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD198 #98A6DF
analogous
#DFAD98 #DFD198 #C9DF98
triadic
#DFD198 #98DFD1 #D198DF
tetradic
#DFD198 #98DFAD #98A6DF #DF98C9
square
#DFD198 #98DFAD #98A6DF #DF98C9
split-complementary
#DFD198 #98C9DF #AD98DF
monochromatic
#C1A73C #D0BC69 #DFD198 #EEE6C7 #F8F5E8

Accessibility & contrast

On white

1.53
#DFD198 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#DFD198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD198
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD198#FFFFFF#000000##000000
##DFD1981.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCE94
Deuteranopia (green-blind)
#E0D39A
Tritanopia (blue-blind)
#EAC9C2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd198;
/* rgb */ color: rgb(223, 209, 152);
/* oklch */ color: oklch(85.9% 0.076 96.0);
Tailwind
colors: {
  custom: {
    50: '#eadfb6',
    500: '#dfd198',
    950: '#000000',
  },
}
SCSS
$custom: #dfd198;
$custom-light: #eadfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd198",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 152
  },
  "hsl": {
    "h": 48.169,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.85855,
    "c": 0.07565,
    "h": 96
  },
  "luminance": 0.63556
}

Semantic roles & 50–950 ramp

primary
#DFD198
secondary
#6474B7
accent
#44C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD198

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

Preview Lab → · Contrast checker → · Palette generator →

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