#DFD94C#DFD94C

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

Color values

HEX#DFD94C
RGBrgb(223, 217, 76)
HSLhsl(58, 70%, 59%)
HSVhsv(58, 66%, 87%)
CMYKcmyk(0%, 2.7%, 65.9%, 12.5%)
CIE-LABlab(84.91, -14.44, 67.22)
CIE-LCHlch(84.91, 68.75, 102.12°)
OKLaboklab(86.5% -0.0459 0.1511)
OKLCHoklch(86.5% 0.158 106.9)
XYZxyz(56.5508, 65.8374, 16.5651)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD94C #4C52DF
analogous
#DF8F4C #DFD94C #9BDF4C
triadic
#DFD94C #4CDFD9 #D94CDF
tetradic
#DFD94C #4CDF8F #4C52DF #DF4C9B
square
#DFD94C #4CDF8F #4C52DF #DF4C9B
split-complementary
#DFD94C #4C9BDF #8F4CDF
monochromatic
#96911B #CAC324 #DFD94C #E8E480 #F2EFB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD94C#FFFFFF#000000##000000
##DFD94C1.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)
#EBD138
Deuteranopia (green-blind)
#EED755
Tritanopia (blue-blind)
#EFCBBC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd94c;
/* rgb */ color: rgb(223, 217, 76);
/* oklch */ color: oklch(86.5% 0.158 106.9);
Tailwind
colors: {
  custom: {
    50: '#ece485',
    500: '#dfd94c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd94c;
$custom-light: #ece485;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd94c",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 57.551,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86498,
    "c": 0.15788,
    "h": 106.9
  },
  "luminance": 0.65835
}

Semantic roles & 50–950 ramp

primary
#DFD94C
secondary
#35399A
accent
#43EC3B
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD94C

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

Preview Lab → · Contrast checker → · Palette generator →

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