#DFCD97#DFCD97

#DFCD97 is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.073 H 91.8°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#DFCD97
RGBrgb(223, 205, 151)
HSLhsl(45, 53%, 73%)
HSVhsv(45, 32%, 87%)
CMYKcmyk(0%, 8.1%, 32.3%, 12.5%)
CIE-LABlab(82.69, -1.67, 29.21)
CIE-LCHlch(82.69, 29.26, 93.27°)
OKLaboklab(85.03% -0.0023 0.0731)
OKLCHoklch(85.03% 0.073 91.8)
XYZxyz(57.8494, 61.5867, 38.1122)
Luminance0.6159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCD97 #97A9DF
analogous
#DFA997 #DFCD97 #CDDF97
triadic
#DFCD97 #97DFCD #CD97DF
tetradic
#DFCD97 #97DFA9 #97A9DF #DF97CD
square
#DFCD97 #97DFA9 #97A9DF #DF97CD
split-complementary
#DFCD97 #97CDDF #A997DF
monochromatic
#C09F3B #D1B668 #DFCD97 #EDE3C6 #F8F4E8

Accessibility & contrast

On white

1.58
#DFCD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#DFCD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCD97
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCD97#FFFFFF#000000##000000
##DFCD971.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CB93
Deuteranopia (green-blind)
#DDD099
Tritanopia (blue-blind)
#EAC5BF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfcd97;
/* rgb */ color: rgb(223, 205, 151);
/* oklch */ color: oklch(85.0% 0.073 91.8);
Tailwind
colors: {
  custom: {
    50: '#eadcb6',
    500: '#dfcd97',
    950: '#000000',
  },
}
SCSS
$custom: #dfcd97;
$custom-light: #eadcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcd97",
  "rgb": {
    "r": 223,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 45,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.85027,
    "c": 0.07318,
    "h": 91.8
  },
  "luminance": 0.61585
}

Semantic roles & 50–950 ramp

primary
#DFCD97
secondary
#6378B7
accent
#4CC025
background
#FEFEFD
surface
#FDFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFCD97

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

Preview Lab → · Contrast checker → · Palette generator →

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