#DFDB97#DFDB97

#DFDB97 is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 87.9% C 0.088 H 105.2°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#DFDB97
RGBrgb(223, 219, 151)
HSLhsl(57, 53%, 73%)
HSVhsv(57, 32%, 87%)
CMYKcmyk(0%, 1.8%, 32.3%, 12.5%)
CIE-LABlab(86.30, -8.83, 34.00)
CIE-LCHlch(86.30, 35.13, 104.56°)
OKLaboklab(87.88% -0.023 0.0845)
OKLCHoklch(87.88% 0.088 105.2)
XYZxyz(61.3494, 68.5866, 39.2789)
Luminance0.6858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDB97 #979BDF
analogous
#DFB797 #DFDB97 #BFDF97
triadic
#DFDB97 #97DFDB #DB97DF
tetradic
#DFDB97 #97DFB7 #979BDF #DF97BF
square
#DFDB97 #97DFB7 #979BDF #DF97BF
split-complementary
#DFDB97 #97BFDF #B797DF
monochromatic
#C0B93B #D1CB68 #DFDB97 #EDEBC6 #F8F7E8

Accessibility & contrast

On white

1.43
#DFDB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#DFDB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDB97
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDB97#FFFFFF#000000##000000
##DFDB971.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D692
Deuteranopia (green-blind)
#E8DA9A
Tritanopia (blue-blind)
#E9D2C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfdb97;
/* rgb */ color: rgb(223, 219, 151);
/* oklch */ color: oklch(87.9% 0.088 105.2);
Tailwind
colors: {
  custom: {
    50: '#eae6b6',
    500: '#dfdb97',
    950: '#000000',
  },
}
SCSS
$custom: #dfdb97;
$custom-light: #eae6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdb97",
  "rgb": {
    "r": 223,
    "g": 219,
    "b": 151
  },
  "hsl": {
    "h": 56.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87878,
    "c": 0.08751,
    "h": 105.2
  },
  "luminance": 0.68585
}

Semantic roles & 50–950 ramp

primary
#DFDB97
secondary
#6368B7
accent
#2EC025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFDB97

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

Preview Lab → · Contrast checker → · Palette generator →

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