#DFD94F#DFD94F

#DFD94F is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.5% C 0.156 H 106.8°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DFD94F
RGBrgb(223, 217, 79)
HSLhsl(58, 69%, 59%)
HSVhsv(58, 65%, 87%)
CMYKcmyk(0%, 2.7%, 64.6%, 12.5%)
CIE-LABlab(84.94, -14.26, 66.06)
CIE-LCHlch(84.94, 67.59, 102.18°)
OKLaboklab(86.52% -0.0451 0.1491)
OKLCHoklch(86.52% 0.156 106.8)
XYZxyz(56.6576, 65.8801, 17.1272)
Luminance0.6588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD94F #4F55DF
analogous
#DF914F #DFD94F #9DDF4F
triadic
#DFD94F #4FDFD9 #D94FDF
tetradic
#DFD94F #4FDF91 #4F55DF #DF4F9D
square
#DFD94F #4FDF91 #4F55DF #DF4F9D
split-complementary
#DFD94F #4F9DDF #914FDF
monochromatic
#98931C #CCC525 #DFD94F #E8E483 #F2EFB7

Accessibility & contrast

On white

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

On black

14.18
#DFD94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD94F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD94F#FFFFFF#000000##000000
##DFD94F1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13D
Deuteranopia (green-blind)
#EDD758
Tritanopia (blue-blind)
#EFCBBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd94f;
/* rgb */ color: rgb(223, 217, 79);
/* oklch */ color: oklch(86.5% 0.156 106.8);
Tailwind
colors: {
  custom: {
    50: '#ece487',
    500: '#dfd94f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd94f;
$custom-light: #ece487;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd94f",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 57.5,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86522,
    "c": 0.15576,
    "h": 106.8
  },
  "luminance": 0.65878
}

Semantic roles & 50–950 ramp

primary
#DFD94F
secondary
#363A9C
accent
#43EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD94F

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

Preview Lab → · Contrast checker → · Palette generator →

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