#DFD989#DFD989

#DFD989 is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.101 H 104.6°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#DFD989
RGBrgb(223, 217, 137)
HSLhsl(56, 57%, 71%)
HSVhsv(56, 39%, 87%)
CMYKcmyk(0%, 2.7%, 38.6%, 12.5%)
CIE-LABlab(85.57, -9.43, 40.14)
CIE-LCHlch(85.57, 41.23, 103.23°)
OKLaboklab(87.23% -0.0255 0.0981)
OKLCHoklch(87.23% 0.101 104.6)
XYZxyz(59.7606, 67.1213, 33.4697)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD989 #898FDF
analogous
#DFAE89 #DFD989 #BADF89
triadic
#DFD989 #89DFD9 #D989DF
tetradic
#DFD989 #89DFAE #898FDF #DF89BA
square
#DFD989 #89DFAE #898FDF #DF89BA
split-complementary
#DFD989 #89BADF #AE89DF
monochromatic
#BBB133 #D2C959 #DFD989 #ECE9B9 #F8F7E7

Accessibility & contrast

On white

1.46
#DFD989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#DFD989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD989
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD989#FFFFFF#000000##000000
##DFD9891.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D483
Deuteranopia (green-blind)
#E9D88C
Tritanopia (blue-blind)
#EBCFC5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd989;
/* rgb */ color: rgb(223, 217, 137);
/* oklch */ color: oklch(87.2% 0.101 104.6);
Tailwind
colors: {
  custom: {
    50: '#eae4ac',
    500: '#dfd989',
    950: '#000000',
  },
}
SCSS
$custom: #dfd989;
$custom-light: #eae4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd989",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 137
  },
  "hsl": {
    "h": 55.814,
    "s": 57.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87227,
    "c": 0.10139,
    "h": 104.6
  },
  "luminance": 0.6712
}

Semantic roles & 50–950 ramp

primary
#DFD989
secondary
#565CB7
accent
#2CC521
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #DFD989

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

Preview Lab → · Contrast checker → · Palette generator →

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