#DFD982#DFD982

#DFD982 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.109 H 105.0°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#DFD982
RGBrgb(223, 217, 130)
HSLhsl(56, 59%, 69%)
HSVhsv(56, 42%, 87%)
CMYKcmyk(0%, 2.7%, 41.7%, 12.5%)
CIE-LABlab(85.47, -10.18, 43.50)
CIE-LCHlch(85.47, 44.67, 103.17°)
OKLaboklab(87.12% -0.0282 0.1054)
OKLCHoklch(87.12% 0.109 105)
XYZxyz(59.2747, 66.9269, 30.9105)
Luminance0.6693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD982 #8288DF
analogous
#DFAB82 #DFD982 #B7DF82
triadic
#DFD982 #82DFD9 #D982DF
tetradic
#DFD982 #82DFAB #8288DF #DF82B7
square
#DFD982 #82DFAB #8288DF #DF82B7
split-complementary
#DFD982 #82B7DF #AB82DF
monochromatic
#B8AF2F #D3CA51 #DFD982 #EBE8B3 #F8F7E3

Accessibility & contrast

On white

1.46
#DFD982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#DFD982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD982
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD982#FFFFFF#000000##000000
##DFD9821.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D37B
Deuteranopia (green-blind)
#E9D886
Tritanopia (blue-blind)
#EBCFC4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd982;
/* rgb */ color: rgb(223, 217, 130);
/* oklch */ color: oklch(87.1% 0.109 105.0);
Tailwind
colors: {
  custom: {
    50: '#eae4a7',
    500: '#dfd982',
    950: '#000000',
  },
}
SCSS
$custom: #dfd982;
$custom-light: #eae4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd982",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 56.129,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87117,
    "c": 0.10911,
    "h": 105
  },
  "luminance": 0.66925
}

Semantic roles & 50–950 ramp

primary
#DFD982
secondary
#4F56B6
accent
#29C71F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#161510
muted
#858480

Preview Lab

Preview with #DFD982

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

Preview Lab → · Contrast checker → · Palette generator →

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