#DFCD74#DFCD74

#DFCD74 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.4% C 0.112 H 98.2°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#DFCD74
RGBrgb(223, 205, 116)
HSLhsl(50, 63%, 66%)
HSVhsv(50, 48%, 87%)
CMYKcmyk(0%, 8.1%, 48%, 12.5%)
CIE-LABlab(82.17, -5.44, 46.30)
CIE-LCHlch(82.17, 46.62, 96.70°)
OKLaboklab(84.44% -0.0159 0.1108)
OKLCHoklch(84.44% 0.112 98.2)
XYZxyz(55.4167, 60.6136, 25.3001)
Luminance0.6061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCD74 #7486DF
analogous
#DF9874 #DFCD74 #BBDF74
triadic
#DFCD74 #74DFCD #CD74DF
tetradic
#DFCD74 #74DF98 #7486DF #DF74BB
square
#DFCD74 #74DF98 #7486DF #DF74BB
split-complementary
#DFCD74 #74BBDF #9874DF
monochromatic
#B09929 #D4BB42 #DFCD74 #EADFA6 #F6F1D7

Accessibility & contrast

On white

1.60
#DFCD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#DFCD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCD74
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCD74#FFFFFF#000000##000000
##DFCD741.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC96D
Deuteranopia (green-blind)
#E1CF78
Tritanopia (blue-blind)
#EDC1B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dfcd74;
/* rgb */ color: rgb(223, 205, 116);
/* oklch */ color: oklch(84.4% 0.112 98.2);
Tailwind
colors: {
  custom: {
    50: '#ebdc9e',
    500: '#dfcd74',
    950: '#000000',
  },
}
SCSS
$custom: #dfcd74;
$custom-light: #ebdc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcd74",
  "rgb": {
    "r": 223,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 49.907,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84444,
    "c": 0.11188,
    "h": 98.2
  },
  "luminance": 0.60612
}

Semantic roles & 50–950 ramp

primary
#DFCD74
secondary
#4558B2
accent
#39CA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFCD74

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

Preview Lab → · Contrast checker → · Palette generator →

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