#DFD788#DFD788

#DFD788 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.8% C 0.100 H 103.3°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#DFD788
RGBrgb(223, 215, 136)
HSLhsl(54, 58%, 70%)
HSVhsv(54, 39%, 87%)
CMYKcmyk(0%, 3.6%, 39%, 12.5%)
CIE-LABlab(85.03, -8.53, 39.95)
CIE-LCHlch(85.03, 40.85, 102.05°)
OKLaboklab(86.8% -0.023 0.0977)
OKLCHoklch(86.8% 0.1 103.3)
XYZxyz(59.1768, 66.0679, 32.9229)
Luminance0.6607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD788 #8890DF
analogous
#DFAB88 #DFD788 #BBDF88
triadic
#DFD788 #88DFD7 #D788DF
tetradic
#DFD788 #88DFAB #8890DF #DF88BB
square
#DFD788 #88DFAB #8890DF #DF88BB
split-complementary
#DFD788 #88BBDF #AB88DF
monochromatic
#BAAE32 #D2C758 #DFD788 #ECE7B8 #F9F7E7

Accessibility & contrast

On white

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

On black

14.21
#DFD788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD788
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD788#FFFFFF#000000##000000
##DFD7881.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D282
Deuteranopia (green-blind)
#E7D68B
Tritanopia (blue-blind)
#EBCDC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd788;
/* rgb */ color: rgb(223, 215, 136);
/* oklch */ color: oklch(86.8% 0.100 103.3);
Tailwind
colors: {
  custom: {
    50: '#eae3ab',
    500: '#dfd788',
    950: '#000000',
  },
}
SCSS
$custom: #dfd788;
$custom-light: #eae3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd788",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 136
  },
  "hsl": {
    "h": 54.483,
    "s": 57.616,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86798,
    "c": 0.10034,
    "h": 103.3
  },
  "luminance": 0.66066
}

Semantic roles & 50–950 ramp

primary
#DFD788
secondary
#555EB7
accent
#2FC520
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #DFD788

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

Preview Lab → · Contrast checker → · Palette generator →

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