#DFCD78#DFCD78

#DFCD78 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.5% C 0.108 H 97.7°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#DFCD78
RGBrgb(223, 205, 120)
HSLhsl(50, 62%, 67%)
HSVhsv(50, 46%, 87%)
CMYKcmyk(0%, 8.1%, 46.2%, 12.5%)
CIE-LABlab(82.22, -5.07, 44.40)
CIE-LCHlch(82.22, 44.68, 96.51°)
OKLaboklab(84.5% -0.0144 0.1068)
OKLCHoklch(84.5% 0.108 97.7)
XYZxyz(55.6544, 60.7087, 26.5520)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCD78 #788ADF
analogous
#DF9A78 #DFCD78 #BDDF78
triadic
#DFCD78 #78DFCD #CD78DF
tetradic
#DFCD78 #78DF9A #788ADF #DF78BD
square
#DFCD78 #78DF9A #788ADF #DF78BD
split-complementary
#DFCD78 #78BDDF #9A78DF
monochromatic
#B29B2A #D3BB47 #DFCD78 #EBDFA9 #F6F2DB

Accessibility & contrast

On white

1.60
#DFCD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#DFCD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCD78
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCD78#FFFFFF#000000##000000
##DFCD781.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC971
Deuteranopia (green-blind)
#E1CF7B
Tritanopia (blue-blind)
#EDC2B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dfcd78;
/* rgb */ color: rgb(223, 205, 120);
/* oklch */ color: oklch(84.5% 0.108 97.7);
Tailwind
colors: {
  custom: {
    50: '#ebdca0',
    500: '#dfcd78',
    950: '#000000',
  },
}
SCSS
$custom: #dfcd78;
$custom-light: #ebdca0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcd78",
  "rgb": {
    "r": 223,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 49.515,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84501,
    "c": 0.10776,
    "h": 97.7
  },
  "luminance": 0.60707
}

Semantic roles & 50–950 ramp

primary
#DFCD78
secondary
#475AB4
accent
#3AC91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFCD78

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

Preview Lab → · Contrast checker → · Palette generator →

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