#DFD78E#DFD78E

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

Color values

HEX#DFD78E
RGBrgb(223, 215, 142)
HSLhsl(54, 56%, 72%)
HSVhsv(54, 36%, 87%)
CMYKcmyk(0%, 3.6%, 36.3%, 12.5%)
CIE-LABlab(85.12, -7.86, 37.04)
CIE-LCHlch(85.12, 37.87, 101.99°)
OKLaboklab(86.9% -0.0207 0.0912)
OKLCHoklch(86.9% 0.094 102.8)
XYZxyz(59.6152, 66.2433, 35.2318)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD78E #8E96DF
analogous
#DFAF8E #DFD78E #BFDF8E
triadic
#DFD78E #8EDFD7 #D78EDF
tetradic
#DFD78E #8EDFAF #8E96DF #DF8EBF
square
#DFD78E #8EDFAF #8E96DF #DF8EBF
split-complementary
#DFD78E #8EBFDF #AF8EDF
monochromatic
#BDB036 #D1C65E #DFD78E #EDE8BE #F8F7E7

Accessibility & contrast

On white

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

On black

14.25
#DFD78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD78E
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD78E#FFFFFF#000000##000000
##DFD78E1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D289
Deuteranopia (green-blind)
#E6D791
Tritanopia (blue-blind)
#EACEC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd78e;
/* rgb */ color: rgb(223, 215, 142);
/* oklch */ color: oklch(86.9% 0.094 102.8);
Tailwind
colors: {
  custom: {
    50: '#eae3b0',
    500: '#dfd78e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd78e;
$custom-light: #eae3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd78e",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 142
  },
  "hsl": {
    "h": 54.074,
    "s": 55.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.86898,
    "c": 0.09354,
    "h": 102.8
  },
  "luminance": 0.66242
}

Semantic roles & 50–950 ramp

primary
#DFD78E
secondary
#5A63B7
accent
#32C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD78E

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

Preview Lab → · Contrast checker → · Palette generator →

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