#DFCB78#DFCB78

#DFCB78 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.1% C 0.106 H 96.2°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#DFCB78
RGBrgb(223, 203, 120)
HSLhsl(48, 62%, 67%)
HSVhsv(48, 46%, 87%)
CMYKcmyk(0%, 9%, 46.2%, 12.5%)
CIE-LABlab(81.71, -4.04, 43.76)
CIE-LCHlch(81.71, 43.94, 95.28°)
OKLaboklab(84.09% -0.0114 0.1054)
OKLCHoklch(84.09% 0.106 96.2)
XYZxyz(55.1791, 59.7580, 26.3935)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB78 #788CDF
analogous
#DF9878 #DFCB78 #BFDF78
triadic
#DFCB78 #78DFCB #CB78DF
tetradic
#DFCB78 #78DF98 #788CDF #DF78BF
square
#DFCB78 #78DF98 #788CDF #DF78BF
split-complementary
#DFCB78 #78BFDF #9878DF
monochromatic
#B2982A #D3B847 #DFCB78 #EBDEA9 #F6F1DB

Accessibility & contrast

On white

1.62
#DFCB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#DFCB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCB78
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCB78#FFFFFF#000000##000000
##DFCB781.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#E0CE7B
Tritanopia (blue-blind)
#EDC0B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dfcb78;
/* rgb */ color: rgb(223, 203, 120);
/* oklch */ color: oklch(84.1% 0.106 96.2);
Tailwind
colors: {
  custom: {
    50: '#ebdaa0',
    500: '#dfcb78',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb78;
$custom-light: #ebdaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb78",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 120
  },
  "hsl": {
    "h": 48.35,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84094,
    "c": 0.10598,
    "h": 96.2
  },
  "luminance": 0.59756
}

Semantic roles & 50–950 ramp

primary
#DFCB78
secondary
#475CB4
accent
#3EC91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFCB78

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

Preview Lab → · Contrast checker → · Palette generator →

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