#DFD89F#DFD89F

#DFD89F is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.4% C 0.075 H 101.9°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#DFD89F
RGBrgb(223, 216, 159)
HSLhsl(53, 50%, 75%)
HSVhsv(53, 29%, 87%)
CMYKcmyk(0%, 3.1%, 28.7%, 12.5%)
CIE-LABlab(85.66, -6.31, 29.04)
CIE-LCHlch(85.66, 29.72, 102.26°)
OKLaboklab(87.41% -0.0154 0.0729)
OKLCHoklch(87.41% 0.075 101.9)
XYZxyz(61.2457, 67.3041, 42.5588)
Luminance0.6730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD89F #9FA6DF
analogous
#DFB89F #DFD89F #C6DF9F
triadic
#DFD89F #9FDFD8 #D89FDF
tetradic
#DFD89F #9FDFB8 #9FA6DF #DF9FC6
square
#DFD89F #9FDFB8 #9FA6DF #DF9FC6
split-complementary
#DFD89F #9FC6DF #B89FDF
monochromatic
#C0B343 #D0C571 #DFD89F #EEEBCD #F7F6E8

Accessibility & contrast

On white

1.45
#DFD89F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#DFD89F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD89F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD89F#FFFFFF#000000##000000
##DFD89F1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D49B
Deuteranopia (green-blind)
#E5D8A1
Tritanopia (blue-blind)
#E9D0C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd89f;
/* rgb */ color: rgb(223, 216, 159);
/* oklch */ color: oklch(87.4% 0.075 101.9);
Tailwind
colors: {
  custom: {
    50: '#e9e4bb',
    500: '#dfd89f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd89f;
$custom-light: #e9e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd89f",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 159
  },
  "hsl": {
    "h": 53.438,
    "s": 50,
    "l": 74.902
  },
  "oklch": {
    "l": 0.87414,
    "c": 0.07451,
    "h": 101.9
  },
  "luminance": 0.67303
}

Semantic roles & 50–950 ramp

primary
#DFD89F
secondary
#6B73B8
accent
#38BD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DFD89F

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

Preview Lab → · Contrast checker → · Palette generator →

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