#DFD794#DFD794

#DFD794 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.087 H 102.2°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#DFD794
RGBrgb(223, 215, 148)
HSLhsl(54, 54%, 73%)
HSVhsv(54, 34%, 87%)
CMYKcmyk(0%, 3.6%, 33.6%, 12.5%)
CIE-LABlab(85.21, -7.17, 34.11)
CIE-LCHlch(85.21, 34.85, 101.87°)
OKLaboklab(87% -0.0183 0.0846)
OKLCHoklch(87% 0.087 102.2)
XYZxyz(60.0778, 66.4284, 37.6684)
Luminance0.6643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD794 #949CDF
analogous
#DFB194 #DFD794 #C1DF94
triadic
#DFD794 #94DFD7 #D794DF
tetradic
#DFD794 #94DFB1 #949CDF #DF94C1
square
#DFD794 #94DFB1 #949CDF #DF94C1
split-complementary
#DFD794 #94C1DF #B194DF
monochromatic
#BFB139 #D1C565 #DFD794 #EDE9C3 #F8F6E7

Accessibility & contrast

On white

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

On black

14.29
#DFD794 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD794
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD794#FFFFFF#000000##000000
##DFD7941.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D38F
Deuteranopia (green-blind)
#E6D797
Tritanopia (blue-blind)
#EACEC6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd794;
/* rgb */ color: rgb(223, 215, 148);
/* oklch */ color: oklch(87.0% 0.087 102.2);
Tailwind
colors: {
  custom: {
    50: '#eae3b4',
    500: '#dfd794',
    950: '#000000',
  },
}
SCSS
$custom: #dfd794;
$custom-light: #eae3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd794",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 148
  },
  "hsl": {
    "h": 53.6,
    "s": 53.957,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87003,
    "c": 0.08657,
    "h": 102.2
  },
  "luminance": 0.66427
}

Semantic roles & 50–950 ramp

primary
#DFD794
secondary
#6069B7
accent
#35C124
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD794

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

Preview Lab → · Contrast checker → · Palette generator →

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