#DFDC4D#DFDC4D

#DFDC4D is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.1% C 0.160 H 108.1°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#DFDC4D
RGBrgb(223, 220, 77)
HSLhsl(59, 70%, 59%)
HSVhsv(59, 65%, 87%)
CMYKcmyk(0%, 1.3%, 65.5%, 12.5%)
CIE-LABlab(85.71, -15.86, 67.65)
CIE-LCHlch(85.71, 69.49, 103.20°)
OKLaboklab(87.14% -0.0498 0.1521)
OKLCHoklch(87.14% 0.16 108.1)
XYZxyz(57.3662, 67.4120, 17.0097)
Luminance0.6741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC4D #4D50DF
analogous
#DF934D #DFDC4D #99DF4D
triadic
#DFDC4D #4DDFDC #DC4DDF
tetradic
#DFDC4D #4DDF93 #4D50DF #DF4D99
square
#DFDC4D #4DDF93 #4D50DF #DF4D99
split-complementary
#DFDC4D #4D99DF #934DDF
monochromatic
#97941B #CAC724 #DFDC4D #E8E681 #F2F0B5

Accessibility & contrast

On white

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

On black

14.48
#DFDC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC4D
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC4D#FFFFFF#000000##000000
##DFDC4D1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD339
Deuteranopia (green-blind)
#F0D956
Tritanopia (blue-blind)
#EECEBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfdc4d;
/* rgb */ color: rgb(223, 220, 77);
/* oklch */ color: oklch(87.1% 0.160 108.1);
Tailwind
colors: {
  custom: {
    50: '#ece686',
    500: '#dfdc4d',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc4d;
$custom-light: #ece686;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc4d",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 77
  },
  "hsl": {
    "h": 58.767,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.87136,
    "c": 0.16008,
    "h": 108.1
  },
  "luminance": 0.6741
}

Semantic roles & 50–950 ramp

primary
#DFDC4D
secondary
#35389B
accent
#3FEC3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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