#DFD782#DFD782

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

Color values

HEX#DFD782
RGBrgb(223, 215, 130)
HSLhsl(55, 59%, 69%)
HSVhsv(55, 42%, 87%)
CMYKcmyk(0%, 3.6%, 41.7%, 12.5%)
CIE-LABlab(84.95, -9.17, 42.84)
CIE-LCHlch(84.95, 43.81, 102.08°)
OKLaboklab(86.7% -0.0253 0.1039)
OKLCHoklch(86.7% 0.107 103.7)
XYZxyz(58.7623, 65.9021, 30.7397)
Luminance0.6590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD782 #828ADF
analogous
#DFA982 #DFD782 #B9DF82
triadic
#DFD782 #82DFD7 #D782DF
tetradic
#DFD782 #82DFA9 #828ADF #DF82B9
square
#DFD782 #82DFA9 #828ADF #DF82B9
split-complementary
#DFD782 #82B9DF #A982DF
monochromatic
#B8AC2F #D3C751 #DFD782 #EBE7B3 #F8F6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD782#FFFFFF#000000##000000
##DFD7821.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)
#E5D17B
Deuteranopia (green-blind)
#E8D686
Tritanopia (blue-blind)
#EBCDC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd782;
/* rgb */ color: rgb(223, 215, 130);
/* oklch */ color: oklch(86.7% 0.107 103.7);
Tailwind
colors: {
  custom: {
    50: '#eae3a7',
    500: '#dfd782',
    950: '#000000',
  },
}
SCSS
$custom: #dfd782;
$custom-light: #eae3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd782",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 130
  },
  "hsl": {
    "h": 54.839,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86704,
    "c": 0.10695,
    "h": 103.7
  },
  "luminance": 0.65901
}

Semantic roles & 50–950 ramp

primary
#DFD782
secondary
#4F58B6
accent
#2DC71F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#161510
muted
#858480

Preview Lab

Preview with #DFD782

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

Preview Lab → · Contrast checker → · Palette generator →

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