#DFD296#DFD296

#DFD296 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.079 H 97.4°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#DFD296
RGBrgb(223, 210, 150)
HSLhsl(49, 53%, 73%)
HSVhsv(49, 33%, 87%)
CMYKcmyk(0%, 5.8%, 32.7%, 12.5%)
CIE-LABlab(83.96, -4.37, 31.42)
CIE-LCHlch(83.96, 31.72, 97.92°)
OKLaboklab(86.02% -0.0102 0.0783)
OKLCHoklch(86.02% 0.079 97.4)
XYZxyz(58.9838, 63.9847, 38.0914)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD296 #96A3DF
analogous
#DFAD96 #DFD296 #C7DF96
triadic
#DFD296 #96DFD2 #D296DF
tetradic
#DFD296 #96DFAD #96A3DF #DF96C7
square
#DFD296 #96DFAD #96A3DF #DF96C7
split-complementary
#DFD296 #96C7DF #AD96DF
monochromatic
#C0A83B #D1BE67 #DFD296 #EDE6C5 #F8F5E8

Accessibility & contrast

On white

1.52
#DFD296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#DFD296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD296
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD296#FFFFFF#000000##000000
##DFD2961.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF92
Deuteranopia (green-blind)
#E1D398
Tritanopia (blue-blind)
#EAC9C2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd296;
/* rgb */ color: rgb(223, 210, 150);
/* oklch */ color: oklch(86.0% 0.079 97.4);
Tailwind
colors: {
  custom: {
    50: '#eadfb5',
    500: '#dfd296',
    950: '#000000',
  },
}
SCSS
$custom: #dfd296;
$custom-light: #eadfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd296",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 49.315,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.8602,
    "c": 0.079,
    "h": 97.4
  },
  "luminance": 0.63983
}

Semantic roles & 50–950 ramp

primary
#DFD296
secondary
#6271B7
accent
#41C125
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD296

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

Preview Lab → · Contrast checker → · Palette generator →

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