#DFCA7C#DFCA7C

#DFCA7C is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 84.0% C 0.101 H 94.8°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#DFCA7C
RGBrgb(223, 202, 124)
HSLhsl(47, 61%, 68%)
HSVhsv(47, 44%, 87%)
CMYKcmyk(0%, 9.4%, 44.4%, 12.5%)
CIE-LABlab(81.50, -3.13, 41.50)
CIE-LCHlch(81.50, 41.62, 94.32°)
OKLaboklab(83.95% -0.0084 0.1006)
OKLCHoklch(83.95% 0.101 94.8)
XYZxyz(55.1915, 59.3863, 27.6203)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA7C #7C91DF
analogous
#DF987C #DFCA7C #C2DF7C
triadic
#DFCA7C #7CDFCA #CA7CDF
tetradic
#DFCA7C #7CDF98 #7C91DF #DF7CC2
square
#DFCA7C #7CDF98 #7C91DF #DF7CC2
split-complementary
#DFCA7C #7CC2DF #987CDF
monochromatic
#B5982C #D3B64B #DFCA7C #EBDEAD #F7F2DE

Accessibility & contrast

On white

1.63
#DFCA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#DFCA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA7C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA7C#FFFFFF#000000##000000
##DFCA7C1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C776
Deuteranopia (green-blind)
#DECD7F
Tritanopia (blue-blind)
#EDBFB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfca7c;
/* rgb */ color: rgb(223, 202, 124);
/* oklch */ color: oklch(84.0% 0.101 94.8);
Tailwind
colors: {
  custom: {
    50: '#ebdaa3',
    500: '#dfca7c',
    950: '#000000',
  },
}
SCSS
$custom: #dfca7c;
$custom-light: #ebdaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca7c",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 47.273,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83951,
    "c": 0.1009,
    "h": 94.8
  },
  "luminance": 0.59384
}

Semantic roles & 50–950 ramp

primary
#DFCA7C
secondary
#4960B6
accent
#41C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFCA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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