#DFCF74#DFCF74

#DFCF74 is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 84.9% C 0.114 H 99.5°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#DFCF74
RGBrgb(223, 207, 116)
HSLhsl(51, 63%, 66%)
HSVhsv(51, 48%, 87%)
CMYKcmyk(0%, 7.2%, 48%, 12.5%)
CIE-LABlab(82.69, -6.47, 46.94)
CIE-LCHlch(82.69, 47.38, 97.84°)
OKLaboklab(84.85% -0.0188 0.1122)
OKLCHoklch(84.85% 0.114 99.5)
XYZxyz(55.8982, 61.5765, 25.4606)
Luminance0.6158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF74 #7484DF
analogous
#DF9A74 #DFCF74 #BADF74
triadic
#DFCF74 #74DFCF #CF74DF
tetradic
#DFCF74 #74DF9A #7484DF #DF74BA
square
#DFCF74 #74DF9A #7484DF #DF74BA
split-complementary
#DFCF74 #74BADF #9A74DF
monochromatic
#B09C29 #D4BE42 #DFCF74 #EAE0A6 #F6F1D7

Accessibility & contrast

On white

1.58
#DFCF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#DFCF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF74
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF74#FFFFFF#000000##000000
##DFCF741.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6C
Deuteranopia (green-blind)
#E3D178
Tritanopia (blue-blind)
#EDC3B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfcf74;
/* rgb */ color: rgb(223, 207, 116);
/* oklch */ color: oklch(84.9% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#ebdd9e',
    500: '#dfcf74',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf74;
$custom-light: #ebdd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf74",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 116
  },
  "hsl": {
    "h": 51.028,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84854,
    "c": 0.11372,
    "h": 99.5
  },
  "luminance": 0.61575
}

Semantic roles & 50–950 ramp

primary
#DFCF74
secondary
#4556B2
accent
#35CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFCF74

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

Preview Lab → · Contrast checker → · Palette generator →

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