#DFD96C#DFD96C

#DFD96C is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.8% C 0.132 H 106.0°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#DFD96C
RGBrgb(223, 217, 108)
HSLhsl(57, 64%, 65%)
HSVhsv(57, 52%, 87%)
CMYKcmyk(0%, 2.7%, 51.6%, 12.5%)
CIE-LABlab(85.20, -12.22, 53.76)
CIE-LCHlch(85.20, 55.13, 102.81°)
OKLaboklab(86.82% -0.0362 0.1264)
OKLCHoklch(86.82% 0.132 106)
XYZxyz(57.9526, 66.3981, 23.9478)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD96C #6C72DF
analogous
#DFA06C #DFD96C #ABDF6C
triadic
#DFD96C #6CDFD9 #D96CDF
tetradic
#DFD96C #6CDFA0 #6C72DF #DF6CAB
square
#DFD96C #6CDFA0 #6C72DF #DF6CAB
split-complementary
#DFD96C #6CABDF #A06CDF
monochromatic
#ABA425 #D4CC3A #DFD96C #EAE69E #F5F3D1

Accessibility & contrast

On white

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

On black

14.28
#DFD96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD96C
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD96C#FFFFFF#000000##000000
##DFD96C1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D262
Deuteranopia (green-blind)
#EBD771
Tritanopia (blue-blind)
#EDCDC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd96c;
/* rgb */ color: rgb(223, 217, 108);
/* oklch */ color: oklch(86.8% 0.132 106.0);
Tailwind
colors: {
  custom: {
    50: '#ebe499',
    500: '#dfd96c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd96c;
$custom-light: #ebe499;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd96c",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 56.87,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86817,
    "c": 0.1315,
    "h": 106
  },
  "luminance": 0.66396
}

Semantic roles & 50–950 ramp

primary
#DFD96C
secondary
#4247AD
accent
#23CC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD96C

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

Preview Lab → · Contrast checker → · Palette generator →

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