#DFC878#DFC878

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

Color values

HEX#DFC878
RGBrgb(223, 200, 120)
HSLhsl(47, 62%, 67%)
HSVhsv(47, 46%, 87%)
CMYKcmyk(0%, 10.3%, 46.2%, 12.5%)
CIE-LABlab(80.94, -2.49, 42.80)
CIE-LCHlch(80.94, 42.87, 93.33°)
OKLaboklab(83.48% -0.007 0.1032)
OKLCHoklch(83.48% 0.103 93.9)
XYZxyz(54.4775, 58.3547, 26.1597)
Luminance0.5835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC878 #788FDF
analogous
#DF9578 #DFC878 #C3DF78
triadic
#DFC878 #78DFC8 #C878DF
tetradic
#DFC878 #78DF95 #788FDF #DF78C3
square
#DFC878 #78DF95 #788FDF #DF78C3
split-complementary
#DFC878 #78C3DF #9578DF
monochromatic
#B2942A #D3B447 #DFC878 #EBDCA9 #F6F0DB

Accessibility & contrast

On white

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

On black

12.67
#DFC878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC878
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC878#FFFFFF#000000##000000
##DFC8781.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc878;
/* rgb */ color: rgb(223, 200, 120);
/* oklch */ color: oklch(83.5% 0.103 93.9);
Tailwind
colors: {
  custom: {
    50: '#ebd8a0',
    500: '#dfc878',
    950: '#000000',
  },
}
SCSS
$custom: #dfc878;
$custom-light: #ebd8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc878",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 120
  },
  "hsl": {
    "h": 46.602,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83484,
    "c": 0.10344,
    "h": 93.9
  },
  "luminance": 0.58353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC878

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

Preview Lab → · Contrast checker → · Palette generator →

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