#DFD991#DFD991

#DFD991 is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.4% C 0.092 H 104.1°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#DFD991
RGBrgb(223, 217, 145)
HSLhsl(55, 55%, 72%)
HSVhsv(55, 35%, 87%)
CMYKcmyk(0%, 2.7%, 35%, 12.5%)
CIE-LABlab(85.69, -8.53, 36.25)
CIE-LCHlch(85.69, 37.24, 103.25°)
OKLaboklab(87.36% -0.0224 0.0895)
OKLCHoklch(87.36% 0.092 104.1)
XYZxyz(60.3558, 67.3594, 36.6048)
Luminance0.6736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD991 #9197DF
analogous
#DFB291 #DFD991 #BEDF91
triadic
#DFD991 #91DFD9 #D991DF
tetradic
#DFD991 #91DFB2 #9197DF #DF91BE
square
#DFD991 #91DFB2 #9197DF #DF91BE
split-complementary
#DFD991 #91BEDF #B291DF
monochromatic
#BEB437 #D1C962 #DFD991 #EDE9C0 #F8F7E7

Accessibility & contrast

On white

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

On black

14.47
#DFD991 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD991
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD991#FFFFFF#000000##000000
##DFD9911.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D48C
Deuteranopia (green-blind)
#E8D894
Tritanopia (blue-blind)
#EAD0C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd991;
/* rgb */ color: rgb(223, 217, 145);
/* oklch */ color: oklch(87.4% 0.092 104.1);
Tailwind
colors: {
  custom: {
    50: '#eae4b2',
    500: '#dfd991',
    950: '#000000',
  },
}
SCSS
$custom: #dfd991;
$custom-light: #eae4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd991",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 145
  },
  "hsl": {
    "h": 55.385,
    "s": 54.93,
    "l": 72.157
  },
  "oklch": {
    "l": 0.87361,
    "c": 0.09227,
    "h": 104.1
  },
  "luminance": 0.67358
}

Semantic roles & 50–950 ramp

primary
#DFD991
secondary
#5D64B7
accent
#2FC223
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD991

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

Preview Lab → · Contrast checker → · Palette generator →

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