#DFCF79#DFCF79

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

Color values

HEX#DFCF79
RGBrgb(223, 207, 121)
HSLhsl(51, 61%, 67%)
HSVhsv(51, 46%, 87%)
CMYKcmyk(0%, 7.2%, 45.7%, 12.5%)
CIE-LABlab(82.75, -6.00, 44.56)
CIE-LCHlch(82.75, 44.96, 97.66°)
OKLaboklab(84.93% -0.017 0.1072)
OKLCHoklch(84.93% 0.109 99)
XYZxyz(56.1969, 61.6960, 27.0338)
Luminance0.6169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF79 #7989DF
analogous
#DF9C79 #DFCF79 #BCDF79
triadic
#DFCF79 #79DFCF #CF79DF
tetradic
#DFCF79 #79DF9C #7989DF #DF79BC
square
#DFCF79 #79DF9C #7989DF #DF79BC
split-complementary
#DFCF79 #79BCDF #9C79DF
monochromatic
#B39E2B #D3BD48 #DFCF79 #EBE1AA #F7F2DC

Accessibility & contrast

On white

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

On black

13.34
#DFCF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF79
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF79#FFFFFF#000000##000000
##DFCF791.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfcf79;
/* rgb */ color: rgb(223, 207, 121);
/* oklch */ color: oklch(84.9% 0.109 99.0);
Tailwind
colors: {
  custom: {
    50: '#ebdda1',
    500: '#dfcf79',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf79;
$custom-light: #ebdda1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf79",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 50.588,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84925,
    "c": 0.10856,
    "h": 99
  },
  "luminance": 0.61694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFCF79

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

Preview Lab → · Contrast checker → · Palette generator →

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