#DFCF78#DFCF78

#DFCF78 is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 84.9% C 0.110 H 99.1°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#DFCF78
RGBrgb(223, 207, 120)
HSLhsl(51, 62%, 67%)
HSVhsv(51, 46%, 87%)
CMYKcmyk(0%, 7.2%, 46.2%, 12.5%)
CIE-LABlab(82.74, -6.09, 45.04)
CIE-LCHlch(82.74, 45.45, 97.70°)
OKLaboklab(84.91% -0.0174 0.1082)
OKLCHoklch(84.91% 0.11 99.1)
XYZxyz(56.1359, 61.6716, 26.7125)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF78 #7888DF
analogous
#DF9C78 #DFCF78 #BBDF78
triadic
#DFCF78 #78DFCF #CF78DF
tetradic
#DFCF78 #78DF9C #7888DF #DF78BB
square
#DFCF78 #78DF9C #7888DF #DF78BB
split-complementary
#DFCF78 #78BBDF #9C78DF
monochromatic
#B29D2A #D3BD47 #DFCF78 #EBE1A9 #F6F2DB

Accessibility & contrast

On white

1.57
#DFCF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#DFCF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF78
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF78#FFFFFF#000000##000000
##DFCF781.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA71
Deuteranopia (green-blind)
#E3D17C
Tritanopia (blue-blind)
#EDC4BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfcf78;
/* rgb */ color: rgb(223, 207, 120);
/* oklch */ color: oklch(84.9% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#ebdda0',
    500: '#dfcf78',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf78;
$custom-light: #ebdda0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf78",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 50.68,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8491,
    "c": 0.10961,
    "h": 99.1
  },
  "luminance": 0.6167
}

Semantic roles & 50–950 ramp

primary
#DFCF78
secondary
#4758B4
accent
#37C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFCF78

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

Preview Lab → · Contrast checker → · Palette generator →

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