#DFC166#DFC166

#DFC166 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.116 H 91.5°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#DFC166
RGBrgb(223, 193, 102)
HSLhsl(45, 65%, 64%)
HSVhsv(45, 54%, 87%)
CMYKcmyk(0%, 13.5%, 54.3%, 12.5%)
CIE-LABlab(78.92, -0.46, 49.20)
CIE-LCHlch(78.92, 49.20, 90.53°)
OKLaboklab(81.82% -0.003 0.1159)
OKLCHoklch(81.82% 0.116 91.5)
XYZxyz(51.9017, 54.7897, 20.4094)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC166 #6684DF
analogous
#DF8466 #DFC166 #C0DF66
triadic
#DFC166 #66DFC1 #C166DF
tetradic
#DFC166 #66DF84 #6684DF #DF66C0
square
#DFC166 #66DF84 #6684DF #DF66C0
split-complementary
#DFC166 #66C0DF #8466DF
monochromatic
#A88723 #D4AC33 #DFC166 #EAD699 #F4EACB

Accessibility & contrast

On white

1.76
#DFC166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#DFC166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC166
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC166#FFFFFF#000000##000000
##DFC1661.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#DAC76A
Tritanopia (blue-blind)
#EFB4AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc166;
/* rgb */ color: rgb(223, 193, 102);
/* oklch */ color: oklch(81.8% 0.116 91.5);
Tailwind
colors: {
  custom: {
    50: '#ebd394',
    500: '#dfc166',
    950: '#000000',
  },
}
SCSS
$custom: #dfc166;
$custom-light: #ebd394;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc166",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 45.124,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8182,
    "c": 0.11596,
    "h": 91.5
  },
  "luminance": 0.54787
}

Semantic roles & 50–950 ramp

primary
#DFC166
secondary
#3F5AAA
accent
#45CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC166

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

Preview Lab → · Contrast checker → · Palette generator →

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