#DFDF96#DFDF96

#DFDF96 is a very light, moderate yellow. Relative luminance 0.707; OKLCH L 88.7% C 0.093 H 108.2°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#DFDF96
RGBrgb(223, 223, 150)
HSLhsl(60, 53%, 73%)
HSVhsv(60, 33%, 87%)
CMYKcmyk(0%, 0%, 32.7%, 12.5%)
CIE-LABlab(87.32, -10.97, 35.86)
CIE-LCHlch(87.32, 37.50, 107.01°)
OKLaboklab(88.69% -0.0291 0.0888)
OKLCHoklch(88.69% 0.093 108.2)
XYZxyz(62.3246, 70.6664, 39.2050)
Luminance0.7067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF96 #9696DF
analogous
#DFBA96 #DFDF96 #BADF96
triadic
#DFDF96 #96DFDF #DF96DF
tetradic
#DFDF96 #96DFBA #9696DF #DF96BA
square
#DFDF96 #96DFBA #9696DF #DF96BA
split-complementary
#DFDF96 #96BADF #BA96DF
monochromatic
#C0C03B #D1D167 #DFDF96 #EDEDC5 #F8F8E8

Accessibility & contrast

On white

1.39
#DFDF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.13
#DFDF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF96
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF96#FFFFFF#000000##000000
##DFDF961.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD991
Deuteranopia (green-blind)
#ECDC99
Tritanopia (blue-blind)
#E9D6CC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfdf96;
/* rgb */ color: rgb(223, 223, 150);
/* oklch */ color: oklch(88.7% 0.093 108.2);
Tailwind
colors: {
  custom: {
    50: '#eae8b5',
    500: '#dfdf96',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf96;
$custom-light: #eae8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf96",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.88685,
    "c": 0.09341,
    "h": 108.2
  },
  "luminance": 0.70665
}

Semantic roles & 50–950 ramp

primary
#DFDF96
secondary
#6262B7
accent
#25C125
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DFDF96

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

Preview Lab → · Contrast checker → · Palette generator →

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