#DFCF8F#DFCF8F

#DFCF8F is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.3% C 0.084 H 95.8°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#DFCF8F
RGBrgb(223, 207, 143)
HSLhsl(48, 56%, 72%)
HSVhsv(48, 36%, 87%)
CMYKcmyk(0%, 7.2%, 35.9%, 12.5%)
CIE-LABlab(83.07, -3.66, 33.85)
CIE-LCHlch(83.07, 34.05, 96.17°)
OKLaboklab(85.28% -0.0085 0.0838)
OKLCHoklch(85.28% 0.084 95.8)
XYZxyz(57.7031, 62.2985, 34.9665)
Luminance0.6230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF8F #8F9FDF
analogous
#DFA78F #DFCF8F #C7DF8F
triadic
#DFCF8F #8FDFCF #CF8FDF
tetradic
#DFCF8F #8FDFA7 #8F9FDF #DF8FC7
square
#DFCF8F #8FDFA7 #8F9FDF #DF8FC7
split-complementary
#DFCF8F #8FC7DF #A78FDF
monochromatic
#BDA236 #D1BB5F #DFCF8F #EDE3BF #F8F5E7

Accessibility & contrast

On white

1.56
#DFCF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#DFCF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF8F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF8F#FFFFFF#000000##000000
##DFCF8F1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC8A
Deuteranopia (green-blind)
#E0D191
Tritanopia (blue-blind)
#EBC6BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfcf8f;
/* rgb */ color: rgb(223, 207, 143);
/* oklch */ color: oklch(85.3% 0.084 95.8);
Tailwind
colors: {
  custom: {
    50: '#eaddb0',
    500: '#dfcf8f',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf8f;
$custom-light: #eaddb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf8f",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 143
  },
  "hsl": {
    "h": 48,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85283,
    "c": 0.08428,
    "h": 95.8
  },
  "luminance": 0.62297
}

Semantic roles & 50–950 ramp

primary
#DFCF8F
secondary
#5B6EB7
accent
#43C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFCF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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