#DFCA78#DFCA78

#DFCA78 is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.9% C 0.105 H 95.4°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#DFCA78
RGBrgb(223, 202, 120)
HSLhsl(48, 62%, 67%)
HSVhsv(48, 46%, 87%)
CMYKcmyk(0%, 9.4%, 46.2%, 12.5%)
CIE-LABlab(81.45, -3.53, 43.44)
CIE-LCHlch(81.45, 43.58, 94.64°)
OKLaboklab(83.89% -0.0099 0.1047)
OKLCHoklch(83.89% 0.105 95.4)
XYZxyz(54.9437, 59.2872, 26.3151)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA78 #788DDF
analogous
#DF9778 #DFCA78 #C1DF78
triadic
#DFCA78 #78DFCA #CA78DF
tetradic
#DFCA78 #78DF97 #788DDF #DF78C1
square
#DFCA78 #78DF97 #788DDF #DF78C1
split-complementary
#DFCA78 #78C1DF #9778DF
monochromatic
#B2972A #D3B747 #DFCA78 #EBDDA9 #F6F1DB

Accessibility & contrast

On white

1.63
#DFCA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#DFCA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA78
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA78#FFFFFF#000000##000000
##DFCA781.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C671
Deuteranopia (green-blind)
#DFCD7B
Tritanopia (blue-blind)
#EDBFB6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfca78;
/* rgb */ color: rgb(223, 202, 120);
/* oklch */ color: oklch(83.9% 0.105 95.4);
Tailwind
colors: {
  custom: {
    50: '#ebd9a0',
    500: '#dfca78',
    950: '#000000',
  },
}
SCSS
$custom: #dfca78;
$custom-light: #ebd9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca78",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 47.767,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8389,
    "c": 0.10512,
    "h": 95.4
  },
  "luminance": 0.59285
}

Semantic roles & 50–950 ramp

primary
#DFCA78
secondary
#475DB4
accent
#3FC91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFCA78

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

Preview Lab → · Contrast checker → · Palette generator →

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