#DFC968#DFC968

#DFC968 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.120 H 96.8°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#DFC968
RGBrgb(223, 201, 104)
HSLhsl(49, 65%, 64%)
HSVhsv(49, 53%, 87%)
CMYKcmyk(0%, 9.9%, 53.4%, 12.5%)
CIE-LABlab(81.00, -4.43, 50.69)
CIE-LCHlch(81.00, 50.88, 95.00°)
OKLaboklab(83.47% -0.0142 0.1194)
OKLCHoklch(83.47% 0.12 96.8)
XYZxyz(53.8187, 58.4630, 21.5436)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC968 #687EDF
analogous
#DF8E68 #DFC968 #B9DF68
triadic
#DFC968 #68DFC9 #C968DF
tetradic
#DFC968 #68DF8E #687EDF #DF68B9
square
#DFC968 #68DF8E #687EDF #DF68B9
split-complementary
#DFC968 #68B9DF #8E68DF
monochromatic
#A99024 #D4B736 #DFC968 #EADB9B #F4EDCD

Accessibility & contrast

On white

1.65
#DFC968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#DFC968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC968
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC968#FFFFFF#000000##000000
##DFC9681.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55F
Deuteranopia (green-blind)
#E0CC6C
Tritanopia (blue-blind)
#EEBDB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc968;
/* rgb */ color: rgb(223, 201, 104);
/* oklch */ color: oklch(83.5% 0.120 96.8);
Tailwind
colors: {
  custom: {
    50: '#ebd995',
    500: '#dfc968',
    950: '#000000',
  },
}
SCSS
$custom: #dfc968;
$custom-light: #ebd995;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc968",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 48.908,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83468,
    "c": 0.12022,
    "h": 96.8
  },
  "luminance": 0.58461
}

Semantic roles & 50–950 ramp

primary
#DFC968
secondary
#4054AB
accent
#3ACD19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC968

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

Preview Lab → · Contrast checker → · Palette generator →

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