#DFDC8F#DFDC8F

#DFDC8F is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 87.9% C 0.098 H 106.3°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#DFDC8F
RGBrgb(223, 220, 143)
HSLhsl(58, 56%, 72%)
HSVhsv(58, 36%, 87%)
CMYKcmyk(0%, 1.3%, 35.9%, 12.5%)
CIE-LABlab(86.43, -10.28, 38.24)
CIE-LCHlch(86.43, 39.59, 105.04°)
OKLaboklab(87.95% -0.0276 0.094)
OKLCHoklch(87.95% 0.098 106.3)
XYZxyz(60.9833, 68.8588, 36.0599)
Luminance0.6886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC8F #8F92DF
analogous
#DFB48F #DFDC8F #BADF8F
triadic
#DFDC8F #8FDFDC #DC8FDF
tetradic
#DFDC8F #8FDFB4 #8F92DF #DF8FBA
square
#DFDC8F #8FDFB4 #8F92DF #DF8FBA
split-complementary
#DFDC8F #8FBADF #B48FDF
monochromatic
#BDB836 #D1CD5F #DFDC8F #EDEBBF #F8F8E7

Accessibility & contrast

On white

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

On black

14.77
#DFDC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC8F
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC8F#FFFFFF#000000##000000
##DFDC8F1.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D689
Deuteranopia (green-blind)
#EADA92
Tritanopia (blue-blind)
#EAD3C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfdc8f;
/* rgb */ color: rgb(223, 220, 143);
/* oklch */ color: oklch(87.9% 0.098 106.3);
Tailwind
colors: {
  custom: {
    50: '#eae6b0',
    500: '#dfdc8f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc8f;
$custom-light: #eae6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc8f",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 143
  },
  "hsl": {
    "h": 57.75,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87945,
    "c": 0.09798,
    "h": 106.3
  },
  "luminance": 0.68858
}

Semantic roles & 50–950 ramp

primary
#DFDC8F
secondary
#5B5FB7
accent
#28C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DFDC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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