#DFD799#DFD799

#DFD799 is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 87.1% C 0.081 H 101.7°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#DFD799
RGBrgb(223, 215, 153)
HSLhsl(53, 52%, 74%)
HSVhsv(53, 31%, 87%)
CMYKcmyk(0%, 3.6%, 31.4%, 12.5%)
CIE-LABlab(85.30, -6.56, 31.65)
CIE-LCHlch(85.30, 32.32, 101.71°)
OKLaboklab(87.1% -0.0163 0.079)
OKLCHoklch(87.1% 0.081 101.7)
XYZxyz(60.4822, 66.5901, 39.7979)
Luminance0.6659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD799 #99A1DF
analogous
#DFB499 #DFD799 #C4DF99
triadic
#DFD799 #99DFD7 #D799DF
tetradic
#DFD799 #99DFB4 #99A1DF #DF99C4
square
#DFD799 #99DFB4 #99A1DF #DF99C4
split-complementary
#DFD799 #99C4DF #B499DF
monochromatic
#C1B23D #D0C56A #DFD799 #EEE9C8 #F8F6E8

Accessibility & contrast

On white

1.47
#DFD799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#DFD799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD799
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD799#FFFFFF#000000##000000
##DFD7991.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D395
Deuteranopia (green-blind)
#E5D79B
Tritanopia (blue-blind)
#E9CFC7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd799;
/* rgb */ color: rgb(223, 215, 153);
/* oklch */ color: oklch(87.1% 0.081 101.7);
Tailwind
colors: {
  custom: {
    50: '#eae3b7',
    500: '#dfd799',
    950: '#000000',
  },
}
SCSS
$custom: #dfd799;
$custom-light: #eae3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd799",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 153
  },
  "hsl": {
    "h": 53.143,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.87095,
    "c": 0.08064,
    "h": 101.7
  },
  "luminance": 0.66589
}

Semantic roles & 50–950 ramp

primary
#DFD799
secondary
#656EB7
accent
#37C026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD799

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

Preview Lab → · Contrast checker → · Palette generator →

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