#DFD789#DFD789

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

Color values

HEX#DFD789
RGBrgb(223, 215, 137)
HSLhsl(54, 57%, 71%)
HSVhsv(54, 39%, 87%)
CMYKcmyk(0%, 3.6%, 38.6%, 12.5%)
CIE-LABlab(85.05, -8.42, 39.47)
CIE-LCHlch(85.05, 40.36, 102.05°)
OKLaboklab(86.82% -0.0226 0.0966)
OKLCHoklch(86.82% 0.099 103.2)
XYZxyz(59.2482, 66.0965, 33.2989)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD789 #8991DF
analogous
#DFAC89 #DFD789 #BCDF89
triadic
#DFD789 #89DFD7 #D789DF
tetradic
#DFD789 #89DFAC #8991DF #DF89BC
square
#DFD789 #89DFAC #8991DF #DF89BC
split-complementary
#DFD789 #89BCDF #AC89DF
monochromatic
#BBAE33 #D2C759 #DFD789 #ECE7B9 #F8F7E7

Accessibility & contrast

On white

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

On black

14.22
#DFD789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD789
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD789#FFFFFF#000000##000000
##DFD7891.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd789;
/* rgb */ color: rgb(223, 215, 137);
/* oklch */ color: oklch(86.8% 0.099 103.2);
Tailwind
colors: {
  custom: {
    50: '#eae3ac',
    500: '#dfd789',
    950: '#000000',
  },
}
SCSS
$custom: #dfd789;
$custom-light: #eae3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd789",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 137
  },
  "hsl": {
    "h": 54.419,
    "s": 57.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86815,
    "c": 0.09922,
    "h": 103.2
  },
  "luminance": 0.66095
}

Semantic roles & 50–950 ramp

primary
#DFD789
secondary
#565FB7
accent
#30C521
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #DFD789

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

Preview Lab → · Contrast checker → · Palette generator →

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