#DFDC4E#DFDC4E

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

Color values

HEX#DFDC4E
RGBrgb(223, 220, 78)
HSLhsl(59, 69%, 59%)
HSVhsv(59, 65%, 87%)
CMYKcmyk(0%, 1.3%, 65%, 12.5%)
CIE-LABlab(85.72, -15.81, 67.27)
CIE-LCHlch(85.72, 69.10, 103.22°)
OKLaboklab(87.14% -0.0496 0.1515)
OKLCHoklch(87.14% 0.159 108.1)
XYZxyz(57.4017, 67.4262, 17.1971)
Luminance0.6742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC4E #4E51DF
analogous
#DF944E #DFDC4E #9ADF4E
triadic
#DFDC4E #4EDFDC #DC4EDF
tetradic
#DFDC4E #4EDF94 #4E51DF #DF4E9A
square
#DFDC4E #4EDF94 #4E51DF #DF4E9A
split-complementary
#DFDC4E #4E9ADF #944EDF
monochromatic
#97951B #CBC825 #DFDC4E #E8E682 #F2F0B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFDC4E#FFFFFF#000000##000000
##DFDC4E1.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)
#EDD33A
Deuteranopia (green-blind)
#F0D957
Tritanopia (blue-blind)
#EECEBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfdc4e;
/* rgb */ color: rgb(223, 220, 78);
/* oklch */ color: oklch(87.1% 0.159 108.1);
Tailwind
colors: {
  custom: {
    50: '#ece687',
    500: '#dfdc4e',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc4e;
$custom-light: #ece687;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc4e",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 78
  },
  "hsl": {
    "h": 58.759,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87144,
    "c": 0.15938,
    "h": 108.1
  },
  "luminance": 0.67424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFDC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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