#DFC778#DFC778

#DFC778 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.3% C 0.103 H 93.0°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#DFC778
RGBrgb(223, 199, 120)
HSLhsl(46, 62%, 67%)
HSVhsv(46, 46%, 87%)
CMYKcmyk(0%, 10.8%, 46.2%, 12.5%)
CIE-LABlab(80.68, -1.98, 42.48)
CIE-LCHlch(80.68, 42.52, 92.66°)
OKLaboklab(83.28% -0.0055 0.1025)
OKLCHoklch(83.28% 0.103 93)
XYZxyz(54.2466, 57.8931, 26.0827)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC778 #7890DF
analogous
#DF9378 #DFC778 #C4DF78
triadic
#DFC778 #78DFC7 #C778DF
tetradic
#DFC778 #78DF93 #7890DF #DF78C4
square
#DFC778 #78DF93 #7890DF #DF78C4
split-complementary
#DFC778 #78C4DF #9378DF
monochromatic
#B2932A #D3B247 #DFC778 #EBDCA9 #F6F0DB

Accessibility & contrast

On white

1.67
#DFC778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#DFC778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC778
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC778#FFFFFF#000000##000000
##DFC7781.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C472
Deuteranopia (green-blind)
#DDCB7B
Tritanopia (blue-blind)
#EDBCB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc778;
/* rgb */ color: rgb(223, 199, 120);
/* oklch */ color: oklch(83.3% 0.103 93.0);
Tailwind
colors: {
  custom: {
    50: '#ebd7a0',
    500: '#dfc778',
    950: '#000000',
  },
}
SCSS
$custom: #dfc778;
$custom-light: #ebd7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc778",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 46.019,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83282,
    "c": 0.10264,
    "h": 93
  },
  "luminance": 0.57891
}

Semantic roles & 50–950 ramp

primary
#DFC778
secondary
#4761B4
accent
#44C91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC778

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

Preview Lab → · Contrast checker → · Palette generator →

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