#D4CFAF#D4CFAF

#D4CFAF is a very light, muted yellow. Relative luminance 0.617; OKLCH L 85.0% C 0.043 H 99.9°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D4CFAF
RGBrgb(212, 207, 175)
HSLhsl(52, 30%, 76%)
HSVhsv(52, 17%, 83%)
CMYKcmyk(0%, 2.4%, 17.5%, 16.9%)
CIE-LABlab(82.76, -3.56, 16.55)
CIE-LCHlch(82.76, 16.93, 102.14°)
OKLaboklab(85.02% -0.0074 0.0426)
OKLCHoklch(85.02% 0.043 99.9)
XYZxyz(57.2016, 61.7186, 49.4486)
Luminance0.6172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CFAF #AFB4D4
analogous
#D4BCAF #D4CFAF #C6D4AF
triadic
#D4CFAF #AFD4CF #CFAFD4
tetradic
#D4CFAF #AFD4BC #AFB4D4 #D4AFC6
square
#D4CFAF #AFD4BC #AFB4D4 #D4AFC6
split-complementary
#D4CFAF #AFC6D4 #BCAFD4
monochromatic
#A99F5F #BFB787 #D4CFAF #E9E7D7 #F4F3EB

Accessibility & contrast

On white

1.57
#D4CFAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D4CFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CFAF
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CFAF#FFFFFF#000000##000000
##D4CFAF1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6CDAD
Deuteranopia (green-blind)
#D7CFB0
Tritanopia (blue-blind)
#DACAC6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4cfaf;
/* rgb */ color: rgb(212, 207, 175);
/* oklch */ color: oklch(85.0% 0.043 99.9);
Tailwind
colors: {
  custom: {
    50: '#e1ddc7',
    500: '#d4cfaf',
    950: '#000000',
  },
}
SCSS
$custom: #d4cfaf;
$custom-light: #e1ddc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cfaf",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 175
  },
  "hsl": {
    "h": 51.892,
    "s": 30.081,
    "l": 75.882
  },
  "oklch": {
    "l": 0.85016,
    "c": 0.04325,
    "h": 99.9
  },
  "luminance": 0.61718
}

Semantic roles & 50–950 ramp

primary
#D4CFAF
secondary
#7D83AA
accent
#4BA93D
background
#FEFEFD
surface
#FCFCF9
border
#D5D5D2
text
#151513
muted
#848482

Preview Lab

Preview with #D4CFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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