#DFD99A#DFD99A

#DFD99A is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.082 H 103.3°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#DFD99A
RGBrgb(223, 217, 154)
HSLhsl(55, 52%, 74%)
HSVhsv(55, 31%, 87%)
CMYKcmyk(0%, 2.7%, 30.9%, 12.5%)
CIE-LABlab(85.83, -7.45, 31.85)
CIE-LCHlch(85.83, 32.71, 103.17°)
OKLaboklab(87.52% -0.0188 0.0795)
OKLCHoklch(87.52% 0.082 103.3)
XYZxyz(61.0775, 67.6480, 40.4055)
Luminance0.6765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD99A #9AA0DF
analogous
#DFB79A #DFD99A #C3DF9A
triadic
#DFD99A #9ADFD9 #D99ADF
tetradic
#DFD99A #9ADFB7 #9AA0DF #DF9AC3
square
#DFD99A #9ADFB7 #9AA0DF #DF9AC3
split-complementary
#DFD99A #9AC3DF #B79ADF
monochromatic
#C1B63D #D0C86C #DFD99A #EEEAC8 #F8F6E8

Accessibility & contrast

On white

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

On black

14.53
#DFD99A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD99A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD99A#FFFFFF#000000##000000
##DFD99A1.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd99a;
/* rgb */ color: rgb(223, 217, 154);
/* oklch */ color: oklch(87.5% 0.082 103.3);
Tailwind
colors: {
  custom: {
    50: '#eae4b8',
    500: '#dfd99a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd99a;
$custom-light: #eae4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd99a",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 154
  },
  "hsl": {
    "h": 54.783,
    "s": 51.88,
    "l": 73.922
  },
  "oklch": {
    "l": 0.87523,
    "c": 0.08166,
    "h": 103.3
  },
  "luminance": 0.67647
}

Semantic roles & 50–950 ramp

primary
#DFD99A
secondary
#666DB7
accent
#34BF26
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD99A

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

Preview Lab → · Contrast checker → · Palette generator →

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