#DFDD5B#DFDD5B

#DFDD5B is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.5% C 0.151 H 108.3°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#DFDD5B
RGBrgb(223, 221, 91)
HSLhsl(59, 67%, 62%)
HSVhsv(59, 59%, 87%)
CMYKcmyk(0%, 0.9%, 59.2%, 12.5%)
CIE-LABlab(86.09, -15.49, 62.34)
CIE-LCHlch(86.09, 64.24, 103.95°)
OKLaboklab(87.47% -0.0473 0.1429)
OKLCHoklch(87.47% 0.151 108.3)
XYZxyz(58.1780, 68.1579, 19.9867)
Luminance0.6816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDD5B #5B5DDF
analogous
#DF9B5B #DFDD5B #9FDF5B
triadic
#DFDD5B #5BDFDD #DD5BDF
tetradic
#DFDD5B #5BDF9B #5B5DDF #DF5B9F
square
#DFDD5B #5BDF9B #5B5DDF #DF5B9F
split-complementary
#DFDD5B #5B9FDF #9B5BDF
monochromatic
#A09E1F #D4D129 #DFDD5B #E9E88E #F3F2C1

Accessibility & contrast

On white

1.44
#DFDD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#DFDD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDD5B
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDD5B#FFFFFF#000000##000000
##DFDD5B1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54C
Deuteranopia (green-blind)
#F0DA63
Tritanopia (blue-blind)
#EED0C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdd5b;
/* rgb */ color: rgb(223, 221, 91);
/* oklch */ color: oklch(87.5% 0.151 108.3);
Tailwind
colors: {
  custom: {
    50: '#ece78e',
    500: '#dfdd5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfdd5b;
$custom-light: #ece78e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdd5b",
  "rgb": {
    "r": 223,
    "g": 221,
    "b": 91
  },
  "hsl": {
    "h": 59.091,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8747,
    "c": 0.15055,
    "h": 108.3
  },
  "luminance": 0.68156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFDD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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