#DFD861#DFD861

#DFD861 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.5% C 0.140 H 105.9°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#DFD861
RGBrgb(223, 216, 97)
HSLhsl(57, 66%, 63%)
HSVhsv(57, 57%, 87%)
CMYKcmyk(0%, 3.1%, 56.5%, 12.5%)
CIE-LABlab(84.83, -12.58, 58.34)
CIE-LCHlch(84.83, 59.68, 102.17°)
OKLaboklab(86.48% -0.0384 0.1351)
OKLCHoklch(86.48% 0.14 105.9)
XYZxyz(57.1467, 65.6646, 20.9712)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD861 #6168DF
analogous
#DF9961 #DFD861 #A7DF61
triadic
#DFD861 #61DFD8 #D861DF
tetradic
#DFD861 #61DF99 #6168DF #DF61A7
square
#DFD861 #61DF99 #6168DF #DF61A7
split-complementary
#DFD861 #61A7DF #9961DF
monochromatic
#A49D21 #D5CB2E #DFD861 #E9E594 #F4F1C7

Accessibility & contrast

On white

1.49
#DFD861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#DFD861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD861
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD861#FFFFFF#000000##000000
##DFD8611.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D155
Deuteranopia (green-blind)
#ECD667
Tritanopia (blue-blind)
#EECBBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd861;
/* rgb */ color: rgb(223, 216, 97);
/* oklch */ color: oklch(86.5% 0.140 105.9);
Tailwind
colors: {
  custom: {
    50: '#ece392',
    500: '#dfd861',
    950: '#000000',
  },
}
SCSS
$custom: #dfd861;
$custom-light: #ece392;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd861",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 56.667,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86483,
    "c": 0.14047,
    "h": 105.9
  },
  "luminance": 0.65663
}

Semantic roles & 50–950 ramp

primary
#DFD861
secondary
#3D43A7
accent
#21CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD861

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

Preview Lab → · Contrast checker → · Palette generator →

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