#DFD766#DFD766

#DFD766 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.3% C 0.135 H 105.2°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#DFD766
RGBrgb(223, 215, 102)
HSLhsl(56, 65%, 64%)
HSVhsv(56, 54%, 87%)
CMYKcmyk(0%, 3.6%, 54.3%, 12.5%)
CIE-LABlab(84.61, -11.70, 55.84)
CIE-LCHlch(84.61, 57.05, 101.84°)
OKLaboklab(86.33% -0.0353 0.1303)
OKLCHoklch(86.33% 0.135 105.2)
XYZxyz(57.1318, 65.2500, 22.1528)
Luminance0.6525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD766 #666EDF
analogous
#DF9A66 #DFD766 #AADF66
triadic
#DFD766 #66DFD7 #D766DF
tetradic
#DFD766 #66DF9A #666EDF #DF66AA
square
#DFD766 #66DF9A #666EDF #DF66AA
split-complementary
#DFD766 #66AADF #9A66DF
monochromatic
#A89F23 #D4CA33 #DFD766 #EAE499 #F4F1CB

Accessibility & contrast

On white

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

On black

14.05
#DFD766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD766
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD766#FFFFFF#000000##000000
##DFD7661.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#EAD66C
Tritanopia (blue-blind)
#EDCBBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd766;
/* rgb */ color: rgb(223, 215, 102);
/* oklch */ color: oklch(86.3% 0.135 105.2);
Tailwind
colors: {
  custom: {
    50: '#ebe395',
    500: '#dfd766',
    950: '#000000',
  },
}
SCSS
$custom: #dfd766;
$custom-light: #ebe395;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd766",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 102
  },
  "hsl": {
    "h": 56.033,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8633,
    "c": 0.13503,
    "h": 105.2
  },
  "luminance": 0.65248
}

Semantic roles & 50–950 ramp

primary
#DFD766
secondary
#3F46AA
accent
#24CD18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD766

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

Preview Lab → · Contrast checker → · Palette generator →

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