#DFD752#DFD752

#DFD752 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.152 H 105.9°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#DFD752
RGBrgb(223, 215, 82)
HSLhsl(57, 69%, 60%)
HSVhsv(57, 63%, 87%)
CMYKcmyk(0%, 3.6%, 63.2%, 12.5%)
CIE-LABlab(84.43, -13.09, 64.33)
CIE-LCHlch(84.43, 65.65, 101.50°)
OKLaboklab(86.13% -0.0415 0.1459)
OKLCHoklch(86.13% 0.152 105.9)
XYZxyz(56.2569, 64.9000, 17.5446)
Luminance0.6490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD752 #525ADF
analogous
#DF9152 #DFD752 #A0DF52
triadic
#DFD752 #52DFD7 #D752DF
tetradic
#DFD752 #52DF91 #525ADF #DF52A0
square
#DFD752 #52DF91 #525ADF #DF52A0
split-complementary
#DFD752 #52A0DF #9152DF
monochromatic
#9A931D #CEC426 #DFD752 #E9E386 #F2EFB9

Accessibility & contrast

On white

1.50
#DFD752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#DFD752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD752
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD752#FFFFFF#000000##000000
##DFD7521.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#ECD55A
Tritanopia (blue-blind)
#EFC9BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd752;
/* rgb */ color: rgb(223, 215, 82);
/* oklch */ color: oklch(86.1% 0.152 105.9);
Tailwind
colors: {
  custom: {
    50: '#ece389',
    500: '#dfd752',
    950: '#000000',
  },
}
SCSS
$custom: #dfd752;
$custom-light: #ece389;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd752",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 56.596,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86129,
    "c": 0.15165,
    "h": 105.9
  },
  "luminance": 0.64898
}

Semantic roles & 50–950 ramp

primary
#DFD752
secondary
#373D9E
accent
#46EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD752

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

Preview Lab → · Contrast checker → · Palette generator →

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