#DFD94E#DFD94E

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

Color values

HEX#DFD94E
RGBrgb(223, 217, 78)
HSLhsl(58, 69%, 59%)
HSVhsv(58, 65%, 87%)
CMYKcmyk(0%, 2.7%, 65%, 12.5%)
CIE-LABlab(84.93, -14.32, 66.45)
CIE-LCHlch(84.93, 67.98, 102.16°)
OKLaboklab(86.51% -0.0454 0.1498)
OKLCHoklch(86.51% 0.156 106.9)
XYZxyz(56.6215, 65.8656, 16.9370)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD94E #4E54DF
analogous
#DF914E #DFD94E #9DDF4E
triadic
#DFD94E #4EDFD9 #D94EDF
tetradic
#DFD94E #4EDF91 #4E54DF #DF4E9D
square
#DFD94E #4EDF91 #4E54DF #DF4E9D
split-complementary
#DFD94E #4E9DDF #914EDF
monochromatic
#97921B #CBC425 #DFD94E #E8E482 #F2EFB6

Accessibility & contrast

On white

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

On black

14.17
#DFD94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD94E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD94E#FFFFFF#000000##000000
##DFD94E1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd94e;
/* rgb */ color: rgb(223, 217, 78);
/* oklch */ color: oklch(86.5% 0.156 106.9);
Tailwind
colors: {
  custom: {
    50: '#ece486',
    500: '#dfd94e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd94e;
$custom-light: #ece486;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd94e",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 57.517,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86514,
    "c": 0.15647,
    "h": 106.9
  },
  "luminance": 0.65864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD94E

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

Preview Lab → · Contrast checker → · Palette generator →

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