#DFDC52#DFDC52

#DFDC52 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.2% C 0.157 H 108.0°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#DFDC52
RGBrgb(223, 220, 82)
HSLhsl(59, 69%, 60%)
HSVhsv(59, 63%, 87%)
CMYKcmyk(0%, 1.3%, 63.2%, 12.5%)
CIE-LABlab(85.75, -15.57, 65.71)
CIE-LCHlch(85.75, 67.53, 103.33°)
OKLaboklab(87.18% -0.0485 0.1488)
OKLCHoklch(87.18% 0.157 108)
XYZxyz(57.5495, 67.4853, 17.9755)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC52 #5255DF
analogous
#DF9552 #DFDC52 #9CDF52
triadic
#DFDC52 #52DFDC #DC52DF
tetradic
#DFDC52 #52DF95 #5255DF #DF529C
square
#DFDC52 #52DF95 #5255DF #DF529C
split-complementary
#DFDC52 #529CDF #9552DF
monochromatic
#9A971D #CECA26 #DFDC52 #E9E686 #F2F1B9

Accessibility & contrast

On white

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

On black

14.50
#DFDC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC52
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC52#FFFFFF#000000##000000
##DFDC521.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD440
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#EECFBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfdc52;
/* rgb */ color: rgb(223, 220, 82);
/* oklch */ color: oklch(87.2% 0.157 108.0);
Tailwind
colors: {
  custom: {
    50: '#ece689',
    500: '#dfdc52',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc52;
$custom-light: #ece689;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc52",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 58.723,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87178,
    "c": 0.1565,
    "h": 108
  },
  "luminance": 0.67484
}

Semantic roles & 50–950 ramp

primary
#DFDC52
secondary
#37399E
accent
#40EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDC52

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

Preview Lab → · Contrast checker → · Palette generator →

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