#DFD781#DFD781

#DFD781 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.7% C 0.108 H 103.8°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#DFD781
RGBrgb(223, 215, 129)
HSLhsl(55, 59%, 69%)
HSVhsv(55, 42%, 87%)
CMYKcmyk(0%, 3.6%, 42.2%, 12.5%)
CIE-LABlab(84.93, -9.27, 43.32)
CIE-LCHlch(84.93, 44.30, 102.08°)
OKLaboklab(86.69% -0.0257 0.1049)
OKLCHoklch(86.69% 0.108 103.8)
XYZxyz(58.6955, 65.8754, 30.3879)
Luminance0.6587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD781 #8189DF
analogous
#DFA881 #DFD781 #B8DF81
triadic
#DFD781 #81DFD7 #D781DF
tetradic
#DFD781 #81DFA8 #8189DF #DF81B8
square
#DFD781 #81DFA8 #8189DF #DF81B8
split-complementary
#DFD781 #81B8DF #A881DF
monochromatic
#B7AB2F #D3C850 #DFD781 #EBE6B2 #F8F6E3

Accessibility & contrast

On white

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

On black

14.17
#DFD781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD781
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD781#FFFFFF#000000##000000
##DFD7811.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D17A
Deuteranopia (green-blind)
#E8D685
Tritanopia (blue-blind)
#ECCCC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd781;
/* rgb */ color: rgb(223, 215, 129);
/* oklch */ color: oklch(86.7% 0.108 103.8);
Tailwind
colors: {
  custom: {
    50: '#eae3a7',
    500: '#dfd781',
    950: '#000000',
  },
}
SCSS
$custom: #dfd781;
$custom-light: #eae3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd781",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 129
  },
  "hsl": {
    "h": 54.894,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86688,
    "c": 0.10804,
    "h": 103.8
  },
  "luminance": 0.65874
}

Semantic roles & 50–950 ramp

primary
#DFD781
secondary
#4E57B6
accent
#2DC71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD781

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

Preview Lab → · Contrast checker → · Palette generator →

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