#DFCF8E#DFCF8E

#DFCF8E is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.3% C 0.085 H 96.0°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#DFCF8E
RGBrgb(223, 207, 142)
HSLhsl(48, 56%, 72%)
HSVhsv(48, 36%, 87%)
CMYKcmyk(0%, 7.2%, 36.3%, 12.5%)
CIE-LABlab(83.06, -3.78, 34.35)
CIE-LCHlch(83.06, 34.55, 96.27°)
OKLaboklab(85.27% -0.0089 0.085)
OKLCHoklch(85.27% 0.085 96)
XYZxyz(57.6277, 62.2683, 34.5693)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF8E #8E9EDF
analogous
#DFA78E #DFCF8E #C7DF8E
triadic
#DFCF8E #8EDFCF #CF8EDF
tetradic
#DFCF8E #8EDFA7 #8E9EDF #DF8EC7
square
#DFCF8E #8EDFA7 #8E9EDF #DF8EC7
split-complementary
#DFCF8E #8EC7DF #A78EDF
monochromatic
#BDA236 #D1BB5E #DFCF8E #EDE3BE #F8F5E7

Accessibility & contrast

On white

1.56
#DFCF8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#DFCF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF8E
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF8E#FFFFFF#000000##000000
##DFCF8E1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC89
Deuteranopia (green-blind)
#E0D190
Tritanopia (blue-blind)
#EBC6BE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfcf8e;
/* rgb */ color: rgb(223, 207, 142);
/* oklch */ color: oklch(85.3% 0.085 96.0);
Tailwind
colors: {
  custom: {
    50: '#eaddaf',
    500: '#dfcf8e',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf8e;
$custom-light: #eaddaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf8e",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 142
  },
  "hsl": {
    "h": 48.148,
    "s": 55.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85265,
    "c": 0.08543,
    "h": 96
  },
  "luminance": 0.62267
}

Semantic roles & 50–950 ramp

primary
#DFCF8E
secondary
#5A6DB7
accent
#42C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFCF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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