#DFD959#DFD959

#DFD959 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.148 H 106.6°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#DFD959
RGBrgb(223, 217, 89)
HSLhsl(57, 68%, 61%)
HSVhsv(57, 60%, 87%)
CMYKcmyk(0%, 2.7%, 60.1%, 12.5%)
CIE-LABlab(85.02, -13.64, 62.03)
CIE-LCHlch(85.02, 63.51, 102.40°)
OKLaboklab(86.61% -0.0423 0.142)
OKLCHoklch(86.61% 0.148 106.6)
XYZxyz(57.0493, 66.0368, 19.1905)
Luminance0.6603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD959 #595FDF
analogous
#DF9659 #DFD959 #A2DF59
triadic
#DFD959 #59DFD9 #D959DF
tetradic
#DFD959 #59DF96 #595FDF #DF59A2
square
#DFD959 #59DF96 #595FDF #DF59A2
split-complementary
#DFD959 #59A2DF #9659DF
monochromatic
#9F991F #D2CB29 #DFD959 #E9E58C #F3F0C0

Accessibility & contrast

On white

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

On black

14.21
#DFD959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD959
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD959#FFFFFF#000000##000000
##DFD9591.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14A
Deuteranopia (green-blind)
#EDD760
Tritanopia (blue-blind)
#EECCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd959;
/* rgb */ color: rgb(223, 217, 89);
/* oklch */ color: oklch(86.6% 0.148 106.6);
Tailwind
colors: {
  custom: {
    50: '#ece48d',
    500: '#dfd959',
    950: '#000000',
  },
}
SCSS
$custom: #dfd959;
$custom-light: #ece48d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd959",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 57.313,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86611,
    "c": 0.14815,
    "h": 106.6
  },
  "luminance": 0.66035
}

Semantic roles & 50–950 ramp

primary
#DFD959
secondary
#3A3FA2
accent
#1ED016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD959

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

Preview Lab → · Contrast checker → · Palette generator →

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