#DFCF98#DFCF98

#DFCF98 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.5% C 0.074 H 93.8°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#DFCF98
RGBrgb(223, 207, 152)
HSLhsl(46, 53%, 74%)
HSVhsv(46, 32%, 87%)
CMYKcmyk(0%, 7.2%, 31.8%, 12.5%)
CIE-LABlab(83.22, -2.58, 29.40)
CIE-LCHlch(83.22, 29.51, 95.02°)
OKLaboklab(85.45% -0.0049 0.0736)
OKLCHoklch(85.45% 0.074 93.8)
XYZxyz(58.4125, 62.5822, 38.7023)
Luminance0.6258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF98 #98A8DF
analogous
#DFAB98 #DFCF98 #CBDF98
triadic
#DFCF98 #98DFCF #CF98DF
tetradic
#DFCF98 #98DFAB #98A8DF #DF98CB
square
#DFCF98 #98DFAB #98A8DF #DF98CB
split-complementary
#DFCF98 #98CBDF #AB98DF
monochromatic
#C1A33C #D0B969 #DFCF98 #EEE5C7 #F8F4E8

Accessibility & contrast

On white

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

On black

13.52
#DFCF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF98
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF98#FFFFFF#000000##000000
##DFCF981.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCC94
Deuteranopia (green-blind)
#DFD29A
Tritanopia (blue-blind)
#EAC7C1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfcf98;
/* rgb */ color: rgb(223, 207, 152);
/* oklch */ color: oklch(85.5% 0.074 93.8);
Tailwind
colors: {
  custom: {
    50: '#eaddb6',
    500: '#dfcf98',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf98;
$custom-light: #eaddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf98",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 152
  },
  "hsl": {
    "h": 46.479,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.8545,
    "c": 0.07378,
    "h": 93.8
  },
  "luminance": 0.62581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFCF98

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

Preview Lab → · Contrast checker → · Palette generator →

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