#DFC879#DFC879

#DFC879 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.5% C 0.102 H 93.7°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#DFC879
RGBrgb(223, 200, 121)
HSLhsl(46, 61%, 67%)
HSVhsv(46, 46%, 87%)
CMYKcmyk(0%, 10.3%, 45.7%, 12.5%)
CIE-LABlab(80.95, -2.40, 42.31)
CIE-LCHlch(80.95, 42.38, 93.24°)
OKLaboklab(83.5% -0.0066 0.1022)
OKLCHoklch(83.5% 0.102 93.7)
XYZxyz(54.5385, 58.3791, 26.4809)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC879 #7990DF
analogous
#DF9579 #DFC879 #C3DF79
triadic
#DFC879 #79DFC8 #C879DF
tetradic
#DFC879 #79DF95 #7990DF #DF79C3
square
#DFC879 #79DF95 #7990DF #DF79C3
split-complementary
#DFC879 #79C3DF #9579DF
monochromatic
#B3942B #D3B448 #DFC879 #EBDCAA #F7F1DC

Accessibility & contrast

On white

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

On black

12.68
#DFC879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC879
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC879#FFFFFF#000000##000000
##DFC8791.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C573
Deuteranopia (green-blind)
#DDCC7C
Tritanopia (blue-blind)
#EDBDB5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc879;
/* rgb */ color: rgb(223, 200, 121);
/* oklch */ color: oklch(83.5% 0.102 93.7);
Tailwind
colors: {
  custom: {
    50: '#ebd8a1',
    500: '#dfc879',
    950: '#000000',
  },
}
SCSS
$custom: #dfc879;
$custom-light: #ebd8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc879",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 121
  },
  "hsl": {
    "h": 46.471,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83499,
    "c": 0.1024,
    "h": 93.7
  },
  "luminance": 0.58377
}

Semantic roles & 50–950 ramp

primary
#DFC879
secondary
#4860B4
accent
#43C91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC879

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

Preview Lab → · Contrast checker → · Palette generator →

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