#DFD94D#DFD94D

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

Color values

HEX#DFD94D
RGBrgb(223, 217, 77)
HSLhsl(58, 70%, 59%)
HSVhsv(58, 65%, 87%)
CMYKcmyk(0%, 2.7%, 65.5%, 12.5%)
CIE-LABlab(84.92, -14.38, 66.84)
CIE-LCHlch(84.92, 68.37, 102.14°)
OKLaboklab(86.51% -0.0456 0.1504)
OKLCHoklch(86.51% 0.157 106.9)
XYZxyz(56.5859, 65.8514, 16.7496)
Luminance0.6585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD94D #4D53DF
analogous
#DF904D #DFD94D #9CDF4D
triadic
#DFD94D #4DDFD9 #D94DDF
tetradic
#DFD94D #4DDF90 #4D53DF #DF4D9C
square
#DFD94D #4DDF90 #4D53DF #DF4D9C
split-complementary
#DFD94D #4D9CDF #904DDF
monochromatic
#97911B #CAC424 #DFD94D #E8E481 #F2EFB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD94D#FFFFFF#000000##000000
##DFD94D1.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)
#EBD13A
Deuteranopia (green-blind)
#EED756
Tritanopia (blue-blind)
#EFCBBC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd94d;
/* rgb */ color: rgb(223, 217, 77);
/* oklch */ color: oklch(86.5% 0.157 106.9);
Tailwind
colors: {
  custom: {
    50: '#ece486',
    500: '#dfd94d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd94d;
$custom-light: #ece486;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd94d",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 57.534,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86506,
    "c": 0.15718,
    "h": 106.9
  },
  "luminance": 0.6585
}

Semantic roles & 50–950 ramp

primary
#DFD94D
secondary
#353A9B
accent
#43EC3B
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD94D

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

Preview Lab → · Contrast checker → · Palette generator →

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