#DFD78F#DFD78F

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

Color values

HEX#DFD78F
RGBrgb(223, 215, 143)
HSLhsl(54, 56%, 72%)
HSVhsv(54, 36%, 87%)
CMYKcmyk(0%, 3.6%, 35.9%, 12.5%)
CIE-LABlab(85.14, -7.75, 36.55)
CIE-LCHlch(85.14, 37.36, 101.97°)
OKLaboklab(86.92% -0.0203 0.0901)
OKLCHoklch(86.92% 0.092 102.7)
XYZxyz(59.6906, 66.2735, 35.6290)
Luminance0.6627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD78F #8F97DF
analogous
#DFAF8F #DFD78F #BFDF8F
triadic
#DFD78F #8FDFD7 #D78FDF
tetradic
#DFD78F #8FDFAF #8F97DF #DF8FBF
square
#DFD78F #8FDFAF #8F97DF #DF8FBF
split-complementary
#DFD78F #8FBFDF #AF8FDF
monochromatic
#BDB036 #D1C65F #DFD78F #EDE8BF #F8F7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD78F#FFFFFF#000000##000000
##DFD78F1.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)
#E3D28A
Deuteranopia (green-blind)
#E6D792
Tritanopia (blue-blind)
#EACEC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd78f;
/* rgb */ color: rgb(223, 215, 143);
/* oklch */ color: oklch(86.9% 0.092 102.7);
Tailwind
colors: {
  custom: {
    50: '#eae3b0',
    500: '#dfd78f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd78f;
$custom-light: #eae3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd78f",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 143
  },
  "hsl": {
    "h": 54,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86915,
    "c": 0.09239,
    "h": 102.7
  },
  "luminance": 0.66272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD78F

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

Preview Lab → · Contrast checker → · Palette generator →

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