#DFDC8A#DFDC8A

#DFDC8A is a very light, moderate yellow. Relative luminance 0.687; OKLCH L 87.9% C 0.104 H 106.5°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#DFDC8A
RGBrgb(223, 220, 138)
HSLhsl(58, 57%, 71%)
HSVhsv(58, 38%, 87%)
CMYKcmyk(0%, 1.3%, 38.1%, 12.5%)
CIE-LABlab(86.36, -10.84, 40.65)
CIE-LCHlch(86.36, 42.07, 104.93°)
OKLaboklab(87.86% -0.0295 0.0993)
OKLCHoklch(87.86% 0.104 106.5)
XYZxyz(60.6129, 68.7107, 34.1093)
Luminance0.6871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC8A #8A8DDF
analogous
#DFB18A #DFDC8A #B7DF8A
triadic
#DFDC8A #8ADFDC #DC8ADF
tetradic
#DFDC8A #8ADFB1 #8A8DDF #DF8AB7
square
#DFDC8A #8ADFB1 #8A8DDF #DF8AB7
split-complementary
#DFDC8A #8AB7DF #B18ADF
monochromatic
#BBB733 #D2CE5A #DFDC8A #ECEABA #F8F8E7

Accessibility & contrast

On white

1.42
#DFDC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#DFDC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC8A
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC8A#FFFFFF#000000##000000
##DFDC8A1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D684
Deuteranopia (green-blind)
#EBDA8D
Tritanopia (blue-blind)
#EAD2C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfdc8a;
/* rgb */ color: rgb(223, 220, 138);
/* oklch */ color: oklch(87.9% 0.104 106.5);
Tailwind
colors: {
  custom: {
    50: '#eae6ad',
    500: '#dfdc8a',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc8a;
$custom-light: #eae6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc8a",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 57.882,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87863,
    "c": 0.10364,
    "h": 106.5
  },
  "luminance": 0.68709
}

Semantic roles & 50–950 ramp

primary
#DFDC8A
secondary
#575AB7
accent
#27C521
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DFDC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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