#DFD98A#DFD98A

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

Color values

HEX#DFD98A
RGBrgb(223, 217, 138)
HSLhsl(56, 57%, 71%)
HSVhsv(56, 38%, 87%)
CMYKcmyk(0%, 2.7%, 38.1%, 12.5%)
CIE-LABlab(85.58, -9.32, 39.65)
CIE-LCHlch(85.58, 40.73, 103.23°)
OKLaboklab(87.24% -0.0252 0.0971)
OKLCHoklch(87.24% 0.1 104.5)
XYZxyz(59.8326, 67.1501, 33.8492)
Luminance0.6715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD98A #8A90DF
analogous
#DFAE8A #DFD98A #BADF8A
triadic
#DFD98A #8ADFD9 #D98ADF
tetradic
#DFD98A #8ADFAE #8A90DF #DF8ABA
square
#DFD98A #8ADFAE #8A90DF #DF8ABA
split-complementary
#DFD98A #8ABADF #AE8ADF
monochromatic
#BBB233 #D2C95A #DFD98A #ECE9BA #F8F7E7

Accessibility & contrast

On white

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

On black

14.43
#DFD98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD98A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD98A#FFFFFF#000000##000000
##DFD98A1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd98a;
/* rgb */ color: rgb(223, 217, 138);
/* oklch */ color: oklch(87.2% 0.100 104.5);
Tailwind
colors: {
  custom: {
    50: '#eae4ad',
    500: '#dfd98a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd98a;
$custom-light: #eae4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd98a",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 138
  },
  "hsl": {
    "h": 55.765,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87243,
    "c": 0.10027,
    "h": 104.5
  },
  "luminance": 0.67149
}

Semantic roles & 50–950 ramp

primary
#DFD98A
secondary
#575DB7
accent
#2CC521
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD98A

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

Preview Lab → · Contrast checker → · Palette generator →

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