#DFD786#DFD786

#DFD786 is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.8% C 0.103 H 103.4°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#DFD786
RGBrgb(223, 215, 134)
HSLhsl(55, 58%, 70%)
HSVhsv(55, 40%, 87%)
CMYKcmyk(0%, 3.6%, 39.9%, 12.5%)
CIE-LABlab(85.00, -8.75, 40.92)
CIE-LCHlch(85.00, 41.84, 102.07°)
OKLaboklab(86.77% -0.0238 0.0998)
OKLCHoklch(86.77% 0.103 103.4)
XYZxyz(59.0360, 66.0116, 32.1813)
Luminance0.6601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD786 #868EDF
analogous
#DFAB86 #DFD786 #BADF86
triadic
#DFD786 #86DFD7 #D786DF
tetradic
#DFD786 #86DFAB #868EDF #DF86BA
square
#DFD786 #86DFAB #868EDF #DF86BA
split-complementary
#DFD786 #86BADF #AB86DF
monochromatic
#BAAD31 #D2C756 #DFD786 #ECE7B6 #F9F7E7

Accessibility & contrast

On white

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

On black

14.20
#DFD786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD786
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD786#FFFFFF#000000##000000
##DFD7861.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D280
Deuteranopia (green-blind)
#E7D689
Tritanopia (blue-blind)
#EBCDC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd786;
/* rgb */ color: rgb(223, 215, 134);
/* oklch */ color: oklch(86.8% 0.103 103.4);
Tailwind
colors: {
  custom: {
    50: '#eae3aa',
    500: '#dfd786',
    950: '#000000',
  },
}
SCSS
$custom: #dfd786;
$custom-light: #eae3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd786",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 54.607,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.86766,
    "c": 0.10256,
    "h": 103.4
  },
  "luminance": 0.6601
}

Semantic roles & 50–950 ramp

primary
#DFD786
secondary
#535CB6
accent
#2FC620
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #DFD786

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

Preview Lab → · Contrast checker → · Palette generator →

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