#DFD399#DFD399

#DFD399 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.3% C 0.076 H 97.8°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#DFD399
RGBrgb(223, 211, 153)
HSLhsl(50, 52%, 74%)
HSVhsv(50, 31%, 87%)
CMYKcmyk(0%, 5.4%, 31.4%, 12.5%)
CIE-LABlab(84.27, -4.51, 30.28)
CIE-LCHlch(84.27, 30.61, 98.48°)
OKLaboklab(86.28% -0.0104 0.0757)
OKLCHoklch(86.28% 0.076 97.8)
XYZxyz(59.4761, 64.5779, 39.4625)
Luminance0.6458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD399 #99A5DF
analogous
#DFB099 #DFD399 #C8DF99
triadic
#DFD399 #99DFD3 #D399DF
tetradic
#DFD399 #99DFB0 #99A5DF #DF99C8
square
#DFD399 #99DFB0 #99A5DF #DF99C8
split-complementary
#DFD399 #99C8DF #B099DF
monochromatic
#C1AA3D #D0BF6A #DFD399 #EEE7C8 #F8F5E8

Accessibility & contrast

On white

1.51
#DFD399 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#DFD399 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD399
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD399#FFFFFF#000000##000000
##DFD3991.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DED095
Deuteranopia (green-blind)
#E2D49B
Tritanopia (blue-blind)
#EACBC4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd399;
/* rgb */ color: rgb(223, 211, 153);
/* oklch */ color: oklch(86.3% 0.076 97.8);
Tailwind
colors: {
  custom: {
    50: '#eae0b7',
    500: '#dfd399',
    950: '#000000',
  },
}
SCSS
$custom: #dfd399;
$custom-light: #eae0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd399",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 153
  },
  "hsl": {
    "h": 49.714,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.8628,
    "c": 0.07643,
    "h": 97.8
  },
  "luminance": 0.64576
}

Semantic roles & 50–950 ramp

primary
#DFD399
secondary
#6573B7
accent
#40C026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD399

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

Preview Lab → · Contrast checker → · Palette generator →

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