#DFD873#DFD873

#DFD873 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.124 H 105.2°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#DFD873
RGBrgb(223, 216, 115)
HSLhsl(56, 63%, 66%)
HSVhsv(56, 48%, 87%)
CMYKcmyk(0%, 3.1%, 48.4%, 12.5%)
CIE-LABlab(85.02, -11.11, 50.24)
CIE-LCHlch(85.02, 51.45, 102.47°)
OKLaboklab(86.7% -0.0323 0.1194)
OKLCHoklch(86.7% 0.124 105.2)
XYZxyz(58.0833, 66.0392, 25.9035)
Luminance0.6604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD873 #737ADF
analogous
#DFA273 #DFD873 #B0DF73
triadic
#DFD873 #73DFD8 #D873DF
tetradic
#DFD873 #73DFA2 #737ADF #DF73B0
square
#DFD873 #73DFA2 #737ADF #DF73B0
split-complementary
#DFD873 #73B0DF #A273DF
monochromatic
#AFA728 #D4CA41 #DFD873 #EAE6A5 #F6F4D7

Accessibility & contrast

On white

1.48
#DFD873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#DFD873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD873
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD873#FFFFFF#000000##000000
##DFD8731.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26A
Deuteranopia (green-blind)
#EAD778
Tritanopia (blue-blind)
#EDCCC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd873;
/* rgb */ color: rgb(223, 216, 115);
/* oklch */ color: oklch(86.7% 0.124 105.2);
Tailwind
colors: {
  custom: {
    50: '#ebe39d',
    500: '#dfd873',
    950: '#000000',
  },
}
SCSS
$custom: #dfd873;
$custom-light: #ebe39d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd873",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 115
  },
  "hsl": {
    "h": 56.111,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86697,
    "c": 0.12366,
    "h": 105.2
  },
  "luminance": 0.66038
}

Semantic roles & 50–950 ramp

primary
#DFD873
secondary
#454CB1
accent
#26CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD873

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

Preview Lab → · Contrast checker → · Palette generator →

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