#DFD78B#DFD78B

#DFD78B is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.8% C 0.097 H 103.0°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#DFD78B
RGBrgb(223, 215, 139)
HSLhsl(54, 57%, 71%)
HSVhsv(54, 38%, 87%)
CMYKcmyk(0%, 3.6%, 37.7%, 12.5%)
CIE-LABlab(85.08, -8.20, 38.50)
CIE-LCHlch(85.08, 39.36, 102.03°)
OKLaboklab(86.85% -0.0219 0.0945)
OKLCHoklch(86.85% 0.097 103)
XYZxyz(59.3930, 66.1544, 34.0615)
Luminance0.6615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD78B #8B93DF
analogous
#DFAD8B #DFD78B #BDDF8B
triadic
#DFD78B #8BDFD7 #D78BDF
tetradic
#DFD78B #8BDFAD #8B93DF #DF8BBD
square
#DFD78B #8BDFAD #8B93DF #DF8BBD
split-complementary
#DFD78B #8BBDDF #AD8BDF
monochromatic
#BCAF34 #D2C65B #DFD78B #ECE8BB #F8F7E7

Accessibility & contrast

On white

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

On black

14.23
#DFD78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD78B
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD78B#FFFFFF#000000##000000
##DFD78B1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D285
Deuteranopia (green-blind)
#E7D68E
Tritanopia (blue-blind)
#EBCDC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd78b;
/* rgb */ color: rgb(223, 215, 139);
/* oklch */ color: oklch(86.8% 0.097 103.0);
Tailwind
colors: {
  custom: {
    50: '#eae3ae',
    500: '#dfd78b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd78b;
$custom-light: #eae3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd78b",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 139
  },
  "hsl": {
    "h": 54.286,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86848,
    "c": 0.09696,
    "h": 103
  },
  "luminance": 0.66153
}

Semantic roles & 50–950 ramp

primary
#DFD78B
secondary
#5761B7
accent
#31C421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD78B

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

Preview Lab → · Contrast checker → · Palette generator →

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