#DFD84E#DFD84E

#DFD84E is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.156 H 106.4°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#DFD84E
RGBrgb(223, 216, 78)
HSLhsl(57, 69%, 59%)
HSVhsv(57, 65%, 87%)
CMYKcmyk(0%, 3.1%, 65%, 12.5%)
CIE-LABlab(84.66, -13.83, 66.18)
CIE-LCHlch(84.66, 67.61, 101.80°)
OKLaboklab(86.3% -0.044 0.1492)
OKLCHoklch(86.3% 0.156 106.4)
XYZxyz(56.3645, 65.3517, 16.8513)
Luminance0.6535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD84E #4E55DF
analogous
#DF8F4E #DFD84E #9EDF4E
triadic
#DFD84E #4EDFD8 #D84EDF
tetradic
#DFD84E #4EDF8F #4E55DF #DF4E9E
square
#DFD84E #4EDF8F #4E55DF #DF4E9E
split-complementary
#DFD84E #4E9EDF #8F4EDF
monochromatic
#97911B #CBC325 #DFD84E #E8E382 #F2EFB6

Accessibility & contrast

On white

1.49
#DFD84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#DFD84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD84E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD84E#FFFFFF#000000##000000
##DFD84E1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03B
Deuteranopia (green-blind)
#EDD657
Tritanopia (blue-blind)
#EFCABC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd84e;
/* rgb */ color: rgb(223, 216, 78);
/* oklch */ color: oklch(86.3% 0.156 106.4);
Tailwind
colors: {
  custom: {
    50: '#ece386',
    500: '#dfd84e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd84e;
$custom-light: #ece386;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd84e",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 78
  },
  "hsl": {
    "h": 57.103,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86304,
    "c": 0.15553,
    "h": 106.4
  },
  "luminance": 0.6535
}

Semantic roles & 50–950 ramp

primary
#DFD84E
secondary
#363B9B
accent
#44EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD84E

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

Preview Lab → · Contrast checker → · Palette generator →

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