#DFD99F#DFD99F

#DFD99F is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.6% C 0.076 H 102.9°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#DFD99F
RGBrgb(223, 217, 159)
HSLhsl(54, 50%, 75%)
HSVhsv(54, 29%, 87%)
CMYKcmyk(0%, 2.7%, 28.7%, 12.5%)
CIE-LABlab(85.92, -6.82, 29.39)
CIE-LCHlch(85.92, 30.17, 103.07°)
OKLaboklab(87.62% -0.0168 0.0737)
OKLCHoklch(87.62% 0.076 102.9)
XYZxyz(61.5026, 67.8181, 42.6445)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD99F #9FA5DF
analogous
#DFB99F #DFD99F #C5DF9F
triadic
#DFD99F #9FDFD9 #D99FDF
tetradic
#DFD99F #9FDFB9 #9FA5DF #DF9FC5
square
#DFD99F #9FDFB9 #9FA5DF #DF9FC5
split-complementary
#DFD99F #9FC5DF #B99FDF
monochromatic
#C0B543 #D0C771 #DFD99F #EEEBCD #F7F6E8

Accessibility & contrast

On white

1.44
#DFD99F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#DFD99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD99F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD99F#FFFFFF#000000##000000
##DFD99F1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D59B
Deuteranopia (green-blind)
#E6D8A1
Tritanopia (blue-blind)
#E9D1CA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfd99f;
/* rgb */ color: rgb(223, 217, 159);
/* oklch */ color: oklch(87.6% 0.076 102.9);
Tailwind
colors: {
  custom: {
    50: '#e9e4bb',
    500: '#dfd99f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd99f;
$custom-light: #e9e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd99f",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 159
  },
  "hsl": {
    "h": 54.375,
    "s": 50,
    "l": 74.902
  },
  "oklch": {
    "l": 0.87619,
    "c": 0.07564,
    "h": 102.9
  },
  "luminance": 0.67817
}

Semantic roles & 50–950 ramp

primary
#DFD99F
secondary
#6B72B8
accent
#36BD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DFD99F

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

Preview Lab → · Contrast checker → · Palette generator →

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