#DFCA8B#DFCA8B

#DFCA8B is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.2% C 0.084 H 91.8°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#DFCA8B
RGBrgb(223, 202, 139)
HSLhsl(45, 57%, 71%)
HSVhsv(45, 38%, 87%)
CMYKcmyk(0%, 9.4%, 37.7%, 12.5%)
CIE-LABlab(81.73, -1.54, 34.15)
CIE-LCHlch(81.73, 34.18, 92.58°)
OKLaboklab(84.2% -0.0026 0.0844)
OKLCHoklch(84.2% 0.084 91.8)
XYZxyz(56.2133, 59.7950, 33.0016)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA8B #8BA0DF
analogous
#DFA08B #DFCA8B #CADF8B
triadic
#DFCA8B #8BDFCA #CA8BDF
tetradic
#DFCA8B #8BDFA0 #8BA0DF #DF8BCA
square
#DFCA8B #8BDFA0 #8BA0DF #DF8BCA
split-complementary
#DFCA8B #8BCADF #A08BDF
monochromatic
#BC9A34 #D2B45B #DFCA8B #ECE0BB #F8F4E7

Accessibility & contrast

On white

1.62
#DFCA8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#DFCA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA8B
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA8B#FFFFFF#000000##000000
##DFCA8B1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C886
Deuteranopia (green-blind)
#DDCE8D
Tritanopia (blue-blind)
#ECC0BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dfca8b;
/* rgb */ color: rgb(223, 202, 139);
/* oklch */ color: oklch(84.2% 0.084 91.8);
Tailwind
colors: {
  custom: {
    50: '#eadaad',
    500: '#dfca8b',
    950: '#000000',
  },
}
SCSS
$custom: #dfca8b;
$custom-light: #eadaad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca8b",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 139
  },
  "hsl": {
    "h": 45,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.842,
    "c": 0.08444,
    "h": 91.8
  },
  "luminance": 0.59793
}

Semantic roles & 50–950 ramp

primary
#DFCA8B
secondary
#576FB7
accent
#4AC421
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DFCA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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