#DFC478#DFC478

#DFC478 is a very light, moderate orange. Relative luminance 0.565; OKLCH L 82.7% C 0.100 H 90.5°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#DFC478
RGBrgb(223, 196, 120)
HSLhsl(44, 62%, 67%)
HSVhsv(44, 46%, 87%)
CMYKcmyk(0%, 12.1%, 46.2%, 12.5%)
CIE-LABlab(79.91, -0.42, 41.52)
CIE-LCHlch(79.91, 41.52, 90.58°)
OKLaboklab(82.68% -0.0009 0.1003)
OKLCHoklch(82.68% 0.1 90.5)
XYZxyz(53.5632, 56.5262, 25.8549)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC478 #7893DF
analogous
#DF9178 #DFC478 #C7DF78
triadic
#DFC478 #78DFC4 #C478DF
tetradic
#DFC478 #78DF91 #7893DF #DF78C7
square
#DFC478 #78DF91 #7893DF #DF78C7
split-complementary
#DFC478 #78C7DF #9178DF
monochromatic
#B28F2A #D3AE47 #DFC478 #EBDAA9 #F6EFDB

Accessibility & contrast

On white

1.71
#DFC478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#DFC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC478
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC478#FFFFFF#000000##000000
##DFC4781.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C272
Deuteranopia (green-blind)
#DAC97B
Tritanopia (blue-blind)
#EDB9B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc478;
/* rgb */ color: rgb(223, 196, 120);
/* oklch */ color: oklch(82.7% 0.100 90.5);
Tailwind
colors: {
  custom: {
    50: '#ebd5a0',
    500: '#dfc478',
    950: '#000000',
  },
}
SCSS
$custom: #dfc478;
$custom-light: #ebd5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc478",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 44.272,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.82677,
    "c": 0.10034,
    "h": 90.5
  },
  "luminance": 0.56524
}

Semantic roles & 50–950 ramp

primary
#DFC478
secondary
#4764B4
accent
#4AC91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC478

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

Preview Lab → · Contrast checker → · Palette generator →

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