#DFD396#DFD396

#DFD396 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.2% C 0.080 H 98.4°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#DFD396
RGBrgb(223, 211, 150)
HSLhsl(50, 53%, 73%)
HSVhsv(50, 33%, 87%)
CMYKcmyk(0%, 5.4%, 32.7%, 12.5%)
CIE-LABlab(84.22, -4.88, 31.76)
CIE-LCHlch(84.22, 32.13, 98.74°)
OKLaboklab(86.22% -0.0116 0.0792)
OKLCHoklch(86.22% 0.08 98.4)
XYZxyz(59.2314, 64.4800, 38.1740)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD396 #96A2DF
analogous
#DFAE96 #DFD396 #C6DF96
triadic
#DFD396 #96DFD3 #D396DF
tetradic
#DFD396 #96DFAE #96A2DF #DF96C6
square
#DFD396 #96DFAE #96A2DF #DF96C6
split-complementary
#DFD396 #96C6DF #AE96DF
monochromatic
#C0AA3B #D1BF67 #DFD396 #EDE7C5 #F8F5E8

Accessibility & contrast

On white

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

On black

13.90
#DFD396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD396
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD396#FFFFFF#000000##000000
##DFD3961.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF92
Deuteranopia (green-blind)
#E2D498
Tritanopia (blue-blind)
#EACAC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd396;
/* rgb */ color: rgb(223, 211, 150);
/* oklch */ color: oklch(86.2% 0.080 98.4);
Tailwind
colors: {
  custom: {
    50: '#eae0b5',
    500: '#dfd396',
    950: '#000000',
  },
}
SCSS
$custom: #dfd396;
$custom-light: #eae0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd396",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 150
  },
  "hsl": {
    "h": 50.137,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.86223,
    "c": 0.08,
    "h": 98.4
  },
  "luminance": 0.64479
}

Semantic roles & 50–950 ramp

primary
#DFD396
secondary
#6270B7
accent
#3EC125
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD396

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

Preview Lab → · Contrast checker → · Palette generator →

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