#DFDE5B#DFDE5B

#DFDE5B is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.7% C 0.152 H 108.7°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#DFDE5B
RGBrgb(223, 222, 91)
HSLhsl(60, 67%, 62%)
HSVhsv(60, 59%, 87%)
CMYKcmyk(0%, 0.4%, 59.2%, 12.5%)
CIE-LABlab(86.35, -15.98, 62.63)
CIE-LCHlch(86.35, 64.64, 104.32°)
OKLaboklab(87.68% -0.0487 0.1435)
OKLCHoklch(87.68% 0.152 108.7)
XYZxyz(58.4428, 68.6875, 20.0749)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDE5B #5B5CDF
analogous
#DF9C5B #DFDE5B #9EDF5B
triadic
#DFDE5B #5BDFDE #DE5BDF
tetradic
#DFDE5B #5BDF9C #5B5CDF #DF5B9E
square
#DFDE5B #5BDF9C #5B5CDF #DF5B9E
split-complementary
#DFDE5B #5B9EDF #9C5BDF
monochromatic
#A09F1F #D4D229 #DFDE5B #E9E88E #F3F3C1

Accessibility & contrast

On white

1.42
#DFDE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#DFDE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDE5B
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDE5B#FFFFFF#000000##000000
##DFDE5B1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64C
Deuteranopia (green-blind)
#F1DA63
Tritanopia (blue-blind)
#EED1C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfde5b;
/* rgb */ color: rgb(223, 222, 91);
/* oklch */ color: oklch(87.7% 0.152 108.7);
Tailwind
colors: {
  custom: {
    50: '#ece88e',
    500: '#dfde5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfde5b;
$custom-light: #ece88e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfde5b",
  "rgb": {
    "r": 223,
    "g": 222,
    "b": 91
  },
  "hsl": {
    "h": 59.545,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8768,
    "c": 0.15157,
    "h": 108.7
  },
  "luminance": 0.68686
}

Semantic roles & 50–950 ramp

primary
#DFDE5B
secondary
#3B3CA3
accent
#18CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DFDE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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