#DFCD4F#DFCD4F

#DFCD4F is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.0% C 0.145 H 101.1°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#DFCD4F
RGBrgb(223, 205, 79)
HSLhsl(53, 69%, 59%)
HSVhsv(53, 65%, 87%)
CMYKcmyk(0%, 8.1%, 64.6%, 12.5%)
CIE-LABlab(81.79, -8.24, 62.78)
CIE-LCHlch(81.79, 63.31, 97.47°)
OKLaboklab(84.02% -0.028 0.1421)
OKLCHoklch(84.02% 0.145 101.1)
XYZxyz(53.6762, 59.9174, 16.1335)
Luminance0.5991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCD4F #4F61DF
analogous
#DF854F #DFCD4F #A9DF4F
triadic
#DFCD4F #4FDFCD #CD4FDF
tetradic
#DFCD4F #4FDF85 #4F61DF #DF4FA9
square
#DFCD4F #4FDF85 #4F61DF #DF4FA9
split-complementary
#DFCD4F #4FA9DF #854FDF
monochromatic
#98881C #CCB725 #DFCD4F #E8DC83 #F2EAB7

Accessibility & contrast

On white

1.62
#DFCD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#DFCD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCD4F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCD4F#FFFFFF#000000##000000
##DFCD4F1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E4CF56
Tritanopia (blue-blind)
#EFBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dfcd4f;
/* rgb */ color: rgb(223, 205, 79);
/* oklch */ color: oklch(84.0% 0.145 101.1);
Tailwind
colors: {
  custom: {
    50: '#ecdb86',
    500: '#dfcd4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfcd4f;
$custom-light: #ecdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcd4f",
  "rgb": {
    "r": 223,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 52.5,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84023,
    "c": 0.14487,
    "h": 101.1
  },
  "luminance": 0.59915
}

Semantic roles & 50–950 ramp

primary
#DFCD4F
secondary
#36439C
accent
#52EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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