#DFD99C#DFD99C

#DFD99C is a very light, moderate yellow. Relative luminance 0.677; OKLCH L 87.6% C 0.079 H 103.1°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#DFD99C
RGBrgb(223, 217, 156)
HSLhsl(55, 51%, 74%)
HSVhsv(55, 30%, 87%)
CMYKcmyk(0%, 2.7%, 30%, 12.5%)
CIE-LABlab(85.86, -7.20, 30.86)
CIE-LCHlch(85.86, 31.69, 103.14°)
OKLaboklab(87.56% -0.018 0.0772)
OKLCHoklch(87.56% 0.079 103.1)
XYZxyz(61.2455, 67.7152, 41.2901)
Luminance0.6771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD99C #9CA2DF
analogous
#DFB89C #DFD99C #C4DF9C
triadic
#DFD99C #9CDFD9 #D99CDF
tetradic
#DFD99C #9CDFB8 #9CA2DF #DF9CC4
square
#DFD99C #9CDFB8 #9CA2DF #DF9CC4
split-complementary
#DFD99C #9CC4DF #B89CDF
monochromatic
#C1B540 #D0C76E #DFD99C #EEEBCA #F8F6E8

Accessibility & contrast

On white

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

On black

14.54
#DFD99C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD99C
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD99C#FFFFFF#000000##000000
##DFD99C1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd99c;
/* rgb */ color: rgb(223, 217, 156);
/* oklch */ color: oklch(87.6% 0.079 103.1);
Tailwind
colors: {
  custom: {
    50: '#e9e4b9',
    500: '#dfd99c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd99c;
$custom-light: #e9e4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd99c",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 156
  },
  "hsl": {
    "h": 54.627,
    "s": 51.145,
    "l": 74.314
  },
  "oklch": {
    "l": 0.87561,
    "c": 0.07927,
    "h": 103.1
  },
  "luminance": 0.67714
}

Semantic roles & 50–950 ramp

primary
#DFD99C
secondary
#686FB7
accent
#35BF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD99C

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

Preview Lab → · Contrast checker → · Palette generator →

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