#DFD981#DFD981

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

Color values

HEX#DFD981
RGBrgb(223, 217, 129)
HSLhsl(56, 59%, 69%)
HSVhsv(56, 42%, 87%)
CMYKcmyk(0%, 2.7%, 42.2%, 12.5%)
CIE-LABlab(85.45, -10.28, 43.98)
CIE-LCHlch(85.45, 45.16, 103.15°)
OKLaboklab(87.1% -0.0286 0.1064)
OKLCHoklch(87.1% 0.11 105)
XYZxyz(59.2079, 66.9002, 30.5587)
Luminance0.6690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD981 #8187DF
analogous
#DFAA81 #DFD981 #B6DF81
triadic
#DFD981 #81DFD9 #D981DF
tetradic
#DFD981 #81DFAA #8187DF #DF81B6
square
#DFD981 #81DFAA #8187DF #DF81B6
split-complementary
#DFD981 #81B6DF #AA81DF
monochromatic
#B7AE2F #D3CA50 #DFD981 #EBE8B2 #F8F6E3

Accessibility & contrast

On white

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

On black

14.38
#DFD981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD981
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD981#FFFFFF#000000##000000
##DFD9811.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D37A
Deuteranopia (green-blind)
#E9D885
Tritanopia (blue-blind)
#EBCEC4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd981;
/* rgb */ color: rgb(223, 217, 129);
/* oklch */ color: oklch(87.1% 0.110 105.0);
Tailwind
colors: {
  custom: {
    50: '#eae4a7',
    500: '#dfd981',
    950: '#000000',
  },
}
SCSS
$custom: #dfd981;
$custom-light: #eae4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd981",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 129
  },
  "hsl": {
    "h": 56.17,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87102,
    "c": 0.11019,
    "h": 105
  },
  "luminance": 0.66899
}

Semantic roles & 50–950 ramp

primary
#DFD981
secondary
#4E55B6
accent
#29C71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD981

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

Preview Lab → · Contrast checker → · Palette generator →

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