#DFD868#DFD868

#DFD868 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.134 H 105.6°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#DFD868
RGBrgb(223, 216, 104)
HSLhsl(56, 65%, 64%)
HSVhsv(56, 53%, 87%)
CMYKcmyk(0%, 3.1%, 53.4%, 12.5%)
CIE-LABlab(84.89, -12.05, 55.25)
CIE-LCHlch(84.89, 56.55, 102.30°)
OKLaboklab(86.56% -0.0361 0.1293)
OKLCHoklch(86.56% 0.134 105.6)
XYZxyz(57.4876, 65.8009, 22.7666)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD868 #686FDF
analogous
#DF9D68 #DFD868 #AADF68
triadic
#DFD868 #68DFD8 #D868DF
tetradic
#DFD868 #68DF9D #686FDF #DF68AA
square
#DFD868 #68DF9D #686FDF #DF68AA
split-complementary
#DFD868 #68AADF #9D68DF
monochromatic
#A9A124 #D4CB36 #DFD868 #EAE59B #F4F2CD

Accessibility & contrast

On white

1.48
#DFD868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#DFD868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD868
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD868#FFFFFF#000000##000000
##DFD8681.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15D
Deuteranopia (green-blind)
#EBD66E
Tritanopia (blue-blind)
#EDCCBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd868;
/* rgb */ color: rgb(223, 216, 104);
/* oklch */ color: oklch(86.6% 0.134 105.6);
Tailwind
colors: {
  custom: {
    50: '#ebe396',
    500: '#dfd868',
    950: '#000000',
  },
}
SCSS
$custom: #dfd868;
$custom-light: #ebe396;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd868",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 104
  },
  "hsl": {
    "h": 56.471,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86561,
    "c": 0.13421,
    "h": 105.6
  },
  "luminance": 0.65799
}

Semantic roles & 50–950 ramp

primary
#DFD868
secondary
#4046AB
accent
#23CD19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #DFD868

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

Preview Lab → · Contrast checker → · Palette generator →

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