#DFDB52#DFDB52

#DFDB52 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.0% C 0.156 H 107.6°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#DFDB52
RGBrgb(223, 219, 82)
HSLhsl(58, 69%, 60%)
HSVhsv(58, 63%, 87%)
CMYKcmyk(0%, 1.8%, 63.2%, 12.5%)
CIE-LABlab(85.48, -15.08, 65.44)
CIE-LCHlch(85.48, 67.15, 102.98°)
OKLaboklab(86.97% -0.0471 0.1482)
OKLCHoklch(86.97% 0.156 107.6)
XYZxyz(57.2879, 66.9620, 17.8882)
Luminance0.6696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDB52 #5256DF
analogous
#DF9552 #DFDB52 #9CDF52
triadic
#DFDB52 #52DFDB #DB52DF
tetradic
#DFDB52 #52DF95 #5256DF #DF529C
square
#DFDB52 #52DF95 #5256DF #DF529C
split-complementary
#DFDB52 #529CDF #9552DF
monochromatic
#9A971D #CEC926 #DFDB52 #E9E686 #F2F0B9

Accessibility & contrast

On white

1.46
#DFDB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#DFDB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDB52
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDB52#FFFFFF#000000##000000
##DFDB521.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdb52;
/* rgb */ color: rgb(223, 219, 82);
/* oklch */ color: oklch(87.0% 0.156 107.6);
Tailwind
colors: {
  custom: {
    50: '#ece589',
    500: '#dfdb52',
    950: '#000000',
  },
}
SCSS
$custom: #dfdb52;
$custom-light: #ece589;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdb52",
  "rgb": {
    "r": 223,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 58.298,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86967,
    "c": 0.15551,
    "h": 107.6
  },
  "luminance": 0.6696
}

Semantic roles & 50–950 ramp

primary
#DFDB52
secondary
#373A9E
accent
#41EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDB52

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

Preview Lab → · Contrast checker → · Palette generator →

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