#DFDF9D#DFDF9D

#DFDF9D is a very light, moderate yellow. Relative luminance 0.709; OKLCH L 88.8% C 0.085 H 108.0°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#DFDF9D
RGBrgb(223, 223, 157)
HSLhsl(60, 51%, 75%)
HSVhsv(60, 30%, 87%)
CMYKcmyk(0%, 0%, 29.6%, 12.5%)
CIE-LABlab(87.44, -10.11, 32.45)
CIE-LCHlch(87.44, 33.99, 107.31°)
OKLaboklab(88.81% -0.0263 0.0809)
OKLCHoklch(88.81% 0.085 108)
XYZxyz(62.9052, 70.8987, 42.2628)
Luminance0.7090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF9D #9D9DDF
analogous
#DFBE9D #DFDF9D #BEDF9D
triadic
#DFDF9D #9DDFDF #DF9DDF
tetradic
#DFDF9D #9DDFBE #9D9DDF #DF9DBE
square
#DFDF9D #9DDFBE #9D9DDF #DF9DBE
split-complementary
#DFDF9D #9DBEDF #BE9DDF
monochromatic
#C1C141 #D0D06F #DFDF9D #EEEECB #F7F7E8

Accessibility & contrast

On white

1.38
#DFDF9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#DFDF9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF9D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF9D#FFFFFF#000000##000000
##DFDF9D1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EADA99
Deuteranopia (green-blind)
#EBDCA0
Tritanopia (blue-blind)
#E8D7CE
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfdf9d;
/* rgb */ color: rgb(223, 223, 157);
/* oklch */ color: oklch(88.8% 0.085 108.0);
Tailwind
colors: {
  custom: {
    50: '#e9e8ba',
    500: '#dfdf9d',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf9d;
$custom-light: #e9e8ba;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf9d",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 157
  },
  "hsl": {
    "h": 60,
    "s": 50.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.88812,
    "c": 0.08512,
    "h": 108
  },
  "luminance": 0.70898
}

Semantic roles & 50–950 ramp

primary
#DFDF9D
secondary
#6969B8
accent
#27BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DFDF9D

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

Preview Lab → · Contrast checker → · Palette generator →

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