#DFD86C#DFD86C

#DFD86C is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.6% C 0.130 H 105.5°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DFD86C
RGBrgb(223, 216, 108)
HSLhsl(56, 64%, 65%)
HSVhsv(56, 52%, 87%)
CMYKcmyk(0%, 3.1%, 51.6%, 12.5%)
CIE-LABlab(84.94, -11.72, 53.45)
CIE-LCHlch(84.94, 54.72, 102.37°)
OKLaboklab(86.61% -0.0348 0.1258)
OKLCHoklch(86.61% 0.13 105.5)
XYZxyz(57.6956, 65.8841, 23.8621)
Luminance0.6588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD86C #6C73DF
analogous
#DF9F6C #DFD86C #ACDF6C
triadic
#DFD86C #6CDFD8 #D86CDF
tetradic
#DFD86C #6CDF9F #6C73DF #DF6CAC
square
#DFD86C #6CDF9F #6C73DF #DF6CAC
split-complementary
#DFD86C #6CACDF #9F6CDF
monochromatic
#ABA325 #D4CB3A #DFD86C #EAE59E #F5F3D1

Accessibility & contrast

On white

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

On black

14.18
#DFD86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD86C
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD86C#FFFFFF#000000##000000
##DFD86C1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd86c;
/* rgb */ color: rgb(223, 216, 108);
/* oklch */ color: oklch(86.6% 0.130 105.5);
Tailwind
colors: {
  custom: {
    50: '#ebe399',
    500: '#dfd86c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd86c;
$custom-light: #ebe399;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd86c",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 56.348,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86609,
    "c": 0.13047,
    "h": 105.5
  },
  "luminance": 0.65882
}

Semantic roles & 50–950 ramp

primary
#DFD86C
secondary
#4248AD
accent
#24CC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD86C

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

Preview Lab → · Contrast checker → · Palette generator →

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