#DFDC5B#DFDC5B

#DFDC5B is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.3% C 0.150 H 107.9°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#DFDC5B
RGBrgb(223, 220, 91)
HSLhsl(59, 67%, 62%)
HSVhsv(59, 59%, 87%)
CMYKcmyk(0%, 1.3%, 59.2%, 12.5%)
CIE-LABlab(85.82, -15.00, 62.06)
CIE-LCHlch(85.82, 63.84, 103.59°)
OKLaboklab(87.26% -0.0459 0.1423)
OKLCHoklch(87.26% 0.15 107.9)
XYZxyz(57.9147, 67.6314, 19.8989)
Luminance0.6763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC5B #5B5EDF
analogous
#DF9A5B #DFDC5B #A0DF5B
triadic
#DFDC5B #5BDFDC #DC5BDF
tetradic
#DFDC5B #5BDF9A #5B5EDF #DF5BA0
square
#DFDC5B #5BDF9A #5B5EDF #DF5BA0
split-complementary
#DFDC5B #5BA0DF #9A5BDF
monochromatic
#A09D1F #D4D029 #DFDC5B #E9E78E #F3F2C1

Accessibility & contrast

On white

1.45
#DFDC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#DFDC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC5B
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC5B#FFFFFF#000000##000000
##DFDC5B1.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44C
Deuteranopia (green-blind)
#EFD962
Tritanopia (blue-blind)
#EECFC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdc5b;
/* rgb */ color: rgb(223, 220, 91);
/* oklch */ color: oklch(87.3% 0.150 107.9);
Tailwind
colors: {
  custom: {
    50: '#ece68e',
    500: '#dfdc5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc5b;
$custom-light: #ece68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc5b",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 58.636,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8726,
    "c": 0.14953,
    "h": 107.9
  },
  "luminance": 0.6763
}

Semantic roles & 50–950 ramp

primary
#DFDC5B
secondary
#3B3DA3
accent
#1ACF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFDC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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