#DFDC4F#DFDC4F

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

Color values

HEX#DFDC4F
RGBrgb(223, 220, 79)
HSLhsl(59, 69%, 59%)
HSVhsv(59, 65%, 87%)
CMYKcmyk(0%, 1.3%, 64.6%, 12.5%)
CIE-LABlab(85.73, -15.75, 66.88)
CIE-LCHlch(85.73, 68.71, 103.25°)
OKLaboklab(87.15% -0.0493 0.1508)
OKLCHoklch(87.15% 0.159 108.1)
XYZxyz(57.4379, 67.4407, 17.3873)
Luminance0.6744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC4F #4F52DF
analogous
#DF944F #DFDC4F #9ADF4F
triadic
#DFDC4F #4FDFDC #DC4FDF
tetradic
#DFDC4F #4FDF94 #4F52DF #DF4F9A
square
#DFDC4F #4FDF94 #4F52DF #DF4F9A
split-complementary
#DFDC4F #4F9ADF #944FDF
monochromatic
#98951C #CCC825 #DFDC4F #E8E683 #F2F1B7

Accessibility & contrast

On white

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

On black

14.49
#DFDC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC4F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC4F#FFFFFF#000000##000000
##DFDC4F1.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdc4f;
/* rgb */ color: rgb(223, 220, 79);
/* oklch */ color: oklch(87.2% 0.159 108.1);
Tailwind
colors: {
  custom: {
    50: '#ece687',
    500: '#dfdc4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc4f;
$custom-light: #ece687;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc4f",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 58.75,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87152,
    "c": 0.15867,
    "h": 108.1
  },
  "luminance": 0.67439
}

Semantic roles & 50–950 ramp

primary
#DFDC4F
secondary
#36389C
accent
#3FEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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