#DFC64A#DFC64A

#DFC64A is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.5% C 0.143 H 97.7°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#DFC64A
RGBrgb(223, 198, 74)
HSLhsl(50, 70%, 58%)
HSVhsv(50, 67%, 87%)
CMYKcmyk(0%, 11.2%, 66.8%, 12.5%)
CIE-LABlab(79.94, -4.95, 62.89)
CIE-LCHlch(79.94, 63.09, 94.50°)
OKLaboklab(82.54% -0.0192 0.1416)
OKLCHoklch(82.54% 0.143 97.7)
XYZxyz(51.8639, 56.5731, 14.6651)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC64A #4A63DF
analogous
#DF7B4A #DFC64A #ADDF4A
triadic
#DFC64A #4ADFC6 #C64ADF
tetradic
#DFC64A #4ADF7B #4A63DF #DF4AAD
square
#DFC64A #4ADF7B #4A63DF #DF4AAD
split-complementary
#DFC64A #4AADDF #7B4ADF
monochromatic
#94801A #C8AD23 #DFC64A #E8D67E #F1E7B2

Accessibility & contrast

On white

1.71
#DFC64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#DFC64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC64A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC64A#FFFFFF#000000##000000
##DFC64A1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C13A
Deuteranopia (green-blind)
#DFCA51
Tritanopia (blue-blind)
#F0B8AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc64a;
/* rgb */ color: rgb(223, 198, 74);
/* oklch */ color: oklch(82.5% 0.143 97.7);
Tailwind
colors: {
  custom: {
    50: '#edd683',
    500: '#dfc64a',
    950: '#000000',
  },
}
SCSS
$custom: #dfc64a;
$custom-light: #edd683;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc64a",
  "rgb": {
    "r": 223,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 49.933,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8254,
    "c": 0.14289,
    "h": 97.7
  },
  "luminance": 0.56571
}

Semantic roles & 50–950 ramp

primary
#DFC64A
secondary
#344599
accent
#59ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC64A

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

Preview Lab → · Contrast checker → · Palette generator →

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