#DFD881#DFD881

#DFD881 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 86.9% C 0.109 H 104.4°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#DFD881
RGBrgb(223, 216, 129)
HSLhsl(56, 59%, 69%)
HSVhsv(56, 42%, 87%)
CMYKcmyk(0%, 3.1%, 42.2%, 12.5%)
CIE-LABlab(85.19, -9.77, 43.65)
CIE-LCHlch(85.19, 44.73, 102.62°)
OKLaboklab(86.9% -0.0272 0.1057)
OKLCHoklch(86.9% 0.109 104.4)
XYZxyz(58.9509, 66.3862, 30.4731)
Luminance0.6639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD881 #8188DF
analogous
#DFA981 #DFD881 #B7DF81
triadic
#DFD881 #81DFD8 #D881DF
tetradic
#DFD881 #81DFA9 #8188DF #DF81B7
square
#DFD881 #81DFA9 #8188DF #DF81B7
split-complementary
#DFD881 #81B7DF #A981DF
monochromatic
#B7AD2F #D3C950 #DFD881 #EBE7B2 #F8F6E3

Accessibility & contrast

On white

1.47
#DFD881 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#DFD881 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD881
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD881#FFFFFF#000000##000000
##DFD8811.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D27A
Deuteranopia (green-blind)
#E9D785
Tritanopia (blue-blind)
#EBCDC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd881;
/* rgb */ color: rgb(223, 216, 129);
/* oklch */ color: oklch(86.9% 0.109 104.4);
Tailwind
colors: {
  custom: {
    50: '#eae3a7',
    500: '#dfd881',
    950: '#000000',
  },
}
SCSS
$custom: #dfd881;
$custom-light: #eae3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd881",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 129
  },
  "hsl": {
    "h": 55.532,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86895,
    "c": 0.1091,
    "h": 104.4
  },
  "luminance": 0.66385
}

Semantic roles & 50–950 ramp

primary
#DFD881
secondary
#4E56B6
accent
#2BC71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD881

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

Preview Lab → · Contrast checker → · Palette generator →

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