#DFD965#DFD965

#DFD965 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.7% C 0.138 H 106.2°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#DFD965
RGBrgb(223, 217, 101)
HSLhsl(57, 66%, 64%)
HSVhsv(57, 55%, 87%)
CMYKcmyk(0%, 2.7%, 54.7%, 12.5%)
CIE-LABlab(85.13, -12.78, 56.88)
CIE-LCHlch(85.13, 58.30, 102.66°)
OKLaboklab(86.74% -0.0385 0.1325)
OKLCHoklch(86.74% 0.138 106.2)
XYZxyz(57.5949, 66.2550, 22.0640)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD965 #656BDF
analogous
#DF9C65 #DFD965 #A8DF65
triadic
#DFD965 #65DFD9 #D965DF
tetradic
#DFD965 #65DF9C #656BDF #DF65A8
square
#DFD965 #65DF9C #656BDF #DF65A8
split-complementary
#DFD965 #65A8DF #9C65DF
monochromatic
#A7A023 #D4CC32 #DFD965 #EAE698 #F4F2CA

Accessibility & contrast

On white

1.47
#DFD965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#DFD965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD965
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD965#FFFFFF#000000##000000
##DFD9651.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D259
Deuteranopia (green-blind)
#ECD76B
Tritanopia (blue-blind)
#EDCDBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd965;
/* rgb */ color: rgb(223, 217, 101);
/* oklch */ color: oklch(86.7% 0.138 106.2);
Tailwind
colors: {
  custom: {
    50: '#ebe494',
    500: '#dfd965',
    950: '#000000',
  },
}
SCSS
$custom: #dfd965;
$custom-light: #ebe494;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd965",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 101
  },
  "hsl": {
    "h": 57.049,
    "s": 65.591,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86736,
    "c": 0.13794,
    "h": 106.2
  },
  "luminance": 0.66253
}

Semantic roles & 50–950 ramp

primary
#DFD965
secondary
#3F44A9
accent
#21CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD965

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

Preview Lab → · Contrast checker → · Palette generator →

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