#DFCF97#DFCF97

#DFCF97 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.4% C 0.075 H 94.1°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#DFCF97
RGBrgb(223, 207, 151)
HSLhsl(47, 53%, 73%)
HSVhsv(47, 32%, 87%)
CMYKcmyk(0%, 7.2%, 32.3%, 12.5%)
CIE-LABlab(83.20, -2.70, 29.90)
CIE-LCHlch(83.20, 30.02, 95.17°)
OKLaboklab(85.43% -0.0053 0.0748)
OKLCHoklch(85.43% 0.075 94.1)
XYZxyz(58.3309, 62.5496, 38.2727)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF97 #97A7DF
analogous
#DFAB97 #DFCF97 #CBDF97
triadic
#DFCF97 #97DFCF #CF97DF
tetradic
#DFCF97 #97DFAB #97A7DF #DF97CB
square
#DFCF97 #97DFAB #97A7DF #DF97CB
split-complementary
#DFCF97 #97CBDF #AB97DF
monochromatic
#C0A33B #D1B968 #DFCF97 #EDE5C6 #F8F4E8

Accessibility & contrast

On white

1.55
#DFCF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#DFCF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF97
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF97#FFFFFF#000000##000000
##DFCF971.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCC93
Deuteranopia (green-blind)
#DFD199
Tritanopia (blue-blind)
#EAC7C0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfcf97;
/* rgb */ color: rgb(223, 207, 151);
/* oklch */ color: oklch(85.4% 0.075 94.1);
Tailwind
colors: {
  custom: {
    50: '#eaddb6',
    500: '#dfcf97',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf97;
$custom-light: #eaddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf97",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 46.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.85431,
    "c": 0.07496,
    "h": 94.1
  },
  "luminance": 0.62548
}

Semantic roles & 50–950 ramp

primary
#DFCF97
secondary
#6376B7
accent
#48C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFCF97

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

Preview Lab → · Contrast checker → · Palette generator →

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