#DFD99E#DFD99E

#DFD99E is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.6% C 0.077 H 103.0°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#DFD99E
RGBrgb(223, 217, 158)
HSLhsl(54, 50%, 75%)
HSVhsv(54, 29%, 87%)
CMYKcmyk(0%, 2.7%, 29.1%, 12.5%)
CIE-LABlab(85.90, -6.95, 29.88)
CIE-LCHlch(85.90, 30.68, 103.09°)
OKLaboklab(87.6% -0.0172 0.0749)
OKLCHoklch(87.6% 0.077 103)
XYZxyz(61.4162, 67.7835, 42.1893)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD99E #9EA4DF
analogous
#DFB99E #DFD99E #C4DF9E
triadic
#DFD99E #9EDFD9 #D99EDF
tetradic
#DFD99E #9EDFB9 #9EA4DF #DF9EC4
square
#DFD99E #9EDFB9 #9EA4DF #DF9EC4
split-complementary
#DFD99E #9EC4DF #B99EDF
monochromatic
#C1B542 #D0C770 #DFD99E #EEEBCC #F7F6E8

Accessibility & contrast

On white

1.44
#DFD99E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#DFD99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD99E
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD99E#FFFFFF#000000##000000
##DFD99E1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D59A
Deuteranopia (green-blind)
#E6D8A0
Tritanopia (blue-blind)
#E9D1C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfd99e;
/* rgb */ color: rgb(223, 217, 158);
/* oklch */ color: oklch(87.6% 0.077 103.0);
Tailwind
colors: {
  custom: {
    50: '#e9e4bb',
    500: '#dfd99e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd99e;
$custom-light: #e9e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd99e",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 158
  },
  "hsl": {
    "h": 54.462,
    "s": 50.388,
    "l": 74.706
  },
  "oklch": {
    "l": 0.87599,
    "c": 0.07685,
    "h": 103
  },
  "luminance": 0.67782
}

Semantic roles & 50–950 ramp

primary
#DFD99E
secondary
#6A71B8
accent
#36BE28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DFD99E

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

Preview Lab → · Contrast checker → · Palette generator →

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