#DFD78D#DFD78D

#DFD78D is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.9% C 0.095 H 102.9°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#DFD78D
RGBrgb(223, 215, 141)
HSLhsl(54, 56%, 71%)
HSVhsv(54, 37%, 87%)
CMYKcmyk(0%, 3.6%, 36.8%, 12.5%)
CIE-LABlab(85.11, -7.98, 37.53)
CIE-LCHlch(85.11, 38.37, 102.00°)
OKLaboklab(86.88% -0.0211 0.0923)
OKLCHoklch(86.88% 0.095 102.9)
XYZxyz(59.5405, 66.2134, 34.8382)
Luminance0.6621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD78D #8D95DF
analogous
#DFAE8D #DFD78D #BEDF8D
triadic
#DFD78D #8DDFD7 #D78DDF
tetradic
#DFD78D #8DDFAE #8D95DF #DF8DBE
square
#DFD78D #8DDFAE #8D95DF #DF8DBE
split-complementary
#DFD78D #8DBEDF #AE8DDF
monochromatic
#BDAF35 #D2C65D #DFD78D #ECE8BD #F8F7E7

Accessibility & contrast

On white

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

On black

14.24
#DFD78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD78D
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD78D#FFFFFF#000000##000000
##DFD78D1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D288
Deuteranopia (green-blind)
#E6D790
Tritanopia (blue-blind)
#EACEC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd78d;
/* rgb */ color: rgb(223, 215, 141);
/* oklch */ color: oklch(86.9% 0.095 102.9);
Tailwind
colors: {
  custom: {
    50: '#eae3af',
    500: '#dfd78d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd78d;
$custom-light: #eae3af;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd78d",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 141
  },
  "hsl": {
    "h": 54.146,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86881,
    "c": 0.09468,
    "h": 102.9
  },
  "luminance": 0.66212
}

Semantic roles & 50–950 ramp

primary
#DFD78D
secondary
#5962B7
accent
#32C422
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD78D

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

Preview Lab → · Contrast checker → · Palette generator →

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