#DFC64E#DFC64E

#DFC64E is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.6% C 0.140 H 97.4°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#DFC64E
RGBrgb(223, 198, 78)
HSLhsl(50, 69%, 59%)
HSVhsv(50, 65%, 87%)
CMYKcmyk(0%, 11.2%, 65%, 12.5%)
CIE-LABlab(79.97, -4.72, 61.27)
CIE-LCHlch(79.97, 61.45, 94.40°)
OKLaboklab(82.58% -0.0181 0.1388)
OKLCHoklch(82.58% 0.14 97.4)
XYZxyz(52.0030, 56.6287, 15.3975)
Luminance0.5663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC64E #4E67DF
analogous
#DF7E4E #DFC64E #B0DF4E
triadic
#DFC64E #4EDFC6 #C64EDF
tetradic
#DFC64E #4EDF7E #4E67DF #DF4EB0
square
#DFC64E #4EDF7E #4E67DF #DF4EB0
split-complementary
#DFC64E #4EB0DF #7E4EDF
monochromatic
#97821B #CBAE25 #DFC64E #E8D782 #F2E7B6

Accessibility & contrast

On white

1.70
#DFC64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#DFC64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC64E
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC64E#FFFFFF#000000##000000
##DFC64E1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C13F
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#F0B8AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc64e;
/* rgb */ color: rgb(223, 198, 78);
/* oklch */ color: oklch(82.6% 0.140 97.4);
Tailwind
colors: {
  custom: {
    50: '#ecd785',
    500: '#dfc64e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc64e;
$custom-light: #ecd785;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc64e",
  "rgb": {
    "r": 223,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 49.655,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82575,
    "c": 0.13997,
    "h": 97.4
  },
  "luminance": 0.56626
}

Semantic roles & 50–950 ramp

primary
#DFC64E
secondary
#36479B
accent
#5AEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC64E

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

Preview Lab → · Contrast checker → · Palette generator →

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