#DFD997#DFD997

#DFD997 is a very light, moderate yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.085 H 103.6°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#DFD997
RGBrgb(223, 217, 151)
HSLhsl(55, 53%, 73%)
HSVhsv(55, 32%, 87%)
CMYKcmyk(0%, 2.7%, 32.3%, 12.5%)
CIE-LABlab(85.78, -7.82, 33.32)
CIE-LCHlch(85.78, 34.22, 103.21°)
OKLaboklab(87.47% -0.02 0.0828)
OKLCHoklch(87.47% 0.085 103.6)
XYZxyz(60.8308, 67.5493, 39.1060)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD997 #979DDF
analogous
#DFB597 #DFD997 #C1DF97
triadic
#DFD997 #97DFD9 #D997DF
tetradic
#DFD997 #97DFB5 #979DDF #DF97C1
square
#DFD997 #97DFB5 #979DDF #DF97C1
split-complementary
#DFD997 #97C1DF #B597DF
monochromatic
#C0B53B #D1C868 #DFD997 #EDEAC6 #F8F6E8

Accessibility & contrast

On white

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

On black

14.51
#DFD997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD997
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD997#FFFFFF#000000##000000
##DFD9971.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D492
Deuteranopia (green-blind)
#E7D89A
Tritanopia (blue-blind)
#E9D0C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd997;
/* rgb */ color: rgb(223, 217, 151);
/* oklch */ color: oklch(87.5% 0.085 103.6);
Tailwind
colors: {
  custom: {
    50: '#eae4b6',
    500: '#dfd997',
    950: '#000000',
  },
}
SCSS
$custom: #dfd997;
$custom-light: #eae4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd997",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 151
  },
  "hsl": {
    "h": 55,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87468,
    "c": 0.08524,
    "h": 103.6
  },
  "luminance": 0.67548
}

Semantic roles & 50–950 ramp

primary
#DFD997
secondary
#636AB7
accent
#32C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD997

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

Preview Lab → · Contrast checker → · Palette generator →

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