#DFDE52#DFDE52

#DFDE52 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.6% C 0.158 H 108.9°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#DFDE52
RGBrgb(223, 222, 82)
HSLhsl(60, 69%, 60%)
HSVhsv(60, 63%, 87%)
CMYKcmyk(0%, 0.4%, 63.2%, 12.5%)
CIE-LABlab(86.28, -16.56, 66.27)
CIE-LCHlch(86.28, 68.30, 104.03°)
OKLaboklab(87.6% -0.0513 0.15)
OKLCHoklch(87.6% 0.158 108.9)
XYZxyz(58.0776, 68.5414, 18.1515)
Luminance0.6854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDE52 #5253DF
analogous
#DF9752 #DFDE52 #9ADF52
triadic
#DFDE52 #52DFDE #DE52DF
tetradic
#DFDE52 #52DF97 #5253DF #DF529A
square
#DFDE52 #52DF97 #5253DF #DF529A
split-complementary
#DFDE52 #529ADF #9752DF
monochromatic
#9A991D #CECD26 #DFDE52 #E9E886 #F2F2B9

Accessibility & contrast

On white

1.43
#DFDE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#DFDE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDE52
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDE52#FFFFFF#000000##000000
##DFDE521.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD540
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#EED1C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfde52;
/* rgb */ color: rgb(223, 222, 82);
/* oklch */ color: oklch(87.6% 0.158 108.9);
Tailwind
colors: {
  custom: {
    50: '#ece889',
    500: '#dfde52',
    950: '#000000',
  },
}
SCSS
$custom: #dfde52;
$custom-light: #ece889;
$custom-dark: #000000;
JSON
{
  "hex": "#dfde52",
  "rgb": {
    "r": 223,
    "g": 222,
    "b": 82
  },
  "hsl": {
    "h": 59.574,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87599,
    "c": 0.15848,
    "h": 108.9
  },
  "luminance": 0.6854
}

Semantic roles & 50–950 ramp

primary
#DFDE52
secondary
#37389E
accent
#3DEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDE52

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

Preview Lab → · Contrast checker → · Palette generator →

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