#DFC873#DFC873

#DFC873 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.4% C 0.109 H 94.7°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#DFC873
RGBrgb(223, 200, 115)
HSLhsl(47, 63%, 66%)
HSVhsv(47, 48%, 87%)
CMYKcmyk(0%, 10.3%, 48.4%, 12.5%)
CIE-LABlab(80.87, -2.96, 45.20)
CIE-LCHlch(80.87, 45.30, 93.75°)
OKLaboklab(83.41% -0.0088 0.1082)
OKLCHoklch(83.41% 0.109 94.7)
XYZxyz(54.1819, 58.2365, 24.6031)
Luminance0.5823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC873 #738ADF
analogous
#DF9273 #DFC873 #C0DF73
triadic
#DFC873 #73DFC8 #C873DF
tetradic
#DFC873 #73DF92 #738ADF #DF73C0
square
#DFC873 #73DF92 #738ADF #DF73C0
split-complementary
#DFC873 #73C0DF #9273DF
monochromatic
#AF9328 #D4B441 #DFC873 #EADCA5 #F6EFD7

Accessibility & contrast

On white

1.66
#DFC873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#DFC873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC873
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC873#FFFFFF#000000##000000
##DFC8731.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56C
Deuteranopia (green-blind)
#DECC76
Tritanopia (blue-blind)
#EEBCB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc873;
/* rgb */ color: rgb(223, 200, 115);
/* oklch */ color: oklch(83.4% 0.109 94.7);
Tailwind
colors: {
  custom: {
    50: '#ebd89d',
    500: '#dfc873',
    950: '#000000',
  },
}
SCSS
$custom: #dfc873;
$custom-light: #ebd89d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc873",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 115
  },
  "hsl": {
    "h": 47.222,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83411,
    "c": 0.10859,
    "h": 94.7
  },
  "luminance": 0.58234
}

Semantic roles & 50–950 ramp

primary
#DFC873
secondary
#455CB1
accent
#40CB1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC873

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

Preview Lab → · Contrast checker → · Palette generator →

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