#DFC866#DFC866

#DFC866 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.121 H 96.4°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#DFC866
RGBrgb(223, 200, 102)
HSLhsl(49, 65%, 64%)
HSVhsv(49, 54%, 87%)
CMYKcmyk(0%, 10.3%, 54.3%, 12.5%)
CIE-LABlab(80.72, -4.08, 51.31)
CIE-LCHlch(80.72, 51.47, 94.55°)
OKLaboklab(83.24% -0.0135 0.1205)
OKLCHoklch(83.24% 0.121 96.4)
XYZxyz(53.4859, 57.9581, 20.9375)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC866 #667DDF
analogous
#DF8B66 #DFC866 #B9DF66
triadic
#DFC866 #66DFC8 #C866DF
tetradic
#DFC866 #66DF8B #667DDF #DF66B9
square
#DFC866 #66DF8B #667DDF #DF66B9
split-complementary
#DFC866 #66B9DF #8B66DF
monochromatic
#A88E23 #D4B633 #DFC866 #EADA99 #F4ECCB

Accessibility & contrast

On white

1.67
#DFC866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#DFC866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC866
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC866#FFFFFF#000000##000000
##DFC8661.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45D
Deuteranopia (green-blind)
#DFCC6A
Tritanopia (blue-blind)
#EEBBB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc866;
/* rgb */ color: rgb(223, 200, 102);
/* oklch */ color: oklch(83.2% 0.121 96.4);
Tailwind
colors: {
  custom: {
    50: '#ebd894',
    500: '#dfc866',
    950: '#000000',
  },
}
SCSS
$custom: #dfc866;
$custom-light: #ebd894;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc866",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 48.595,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83239,
    "c": 0.12128,
    "h": 96.4
  },
  "luminance": 0.57956
}

Semantic roles & 50–950 ramp

primary
#DFC866
secondary
#3F54AA
accent
#3BCD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC866

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

Preview Lab → · Contrast checker → · Palette generator →

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