#DFD961#DFD961

#DFD961 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.141 H 106.3°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#DFD961
RGBrgb(223, 217, 97)
HSLhsl(57, 66%, 63%)
HSVhsv(57, 57%, 87%)
CMYKcmyk(0%, 2.7%, 56.5%, 12.5%)
CIE-LABlab(85.09, -13.08, 58.63)
CIE-LCHlch(85.09, 60.07, 102.58°)
OKLaboklab(86.69% -0.0398 0.1358)
OKLCHoklch(86.69% 0.141 106.3)
XYZxyz(57.4037, 66.1785, 21.0569)
Luminance0.6618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD961 #6167DF
analogous
#DF9A61 #DFD961 #A6DF61
triadic
#DFD961 #61DFD9 #D961DF
tetradic
#DFD961 #61DF9A #6167DF #DF61A6
square
#DFD961 #61DF9A #6167DF #DF61A6
split-complementary
#DFD961 #61A6DF #9A61DF
monochromatic
#A49E21 #D5CD2E #DFD961 #E9E594 #F4F1C7

Accessibility & contrast

On white

1.48
#DFD961 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#DFD961 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD961
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD961#FFFFFF#000000##000000
##DFD9611.001.4814.2414.24
#FFFFFF1.481.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D254
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#EECCBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd961;
/* rgb */ color: rgb(223, 217, 97);
/* oklch */ color: oklch(86.7% 0.141 106.3);
Tailwind
colors: {
  custom: {
    50: '#ece492',
    500: '#dfd961',
    950: '#000000',
  },
}
SCSS
$custom: #dfd961;
$custom-light: #ece492;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd961",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 97
  },
  "hsl": {
    "h": 57.143,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86692,
    "c": 0.14147,
    "h": 106.3
  },
  "luminance": 0.66177
}

Semantic roles & 50–950 ramp

primary
#DFD961
secondary
#3D42A7
accent
#20CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD961

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

Preview Lab → · Contrast checker → · Palette generator →

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