#DFC752#DFC752

#DFC752 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.138 H 97.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#DFC752
RGBrgb(223, 199, 82)
HSLhsl(50, 69%, 60%)
HSVhsv(50, 63%, 87%)
CMYKcmyk(0%, 10.8%, 63.2%, 12.5%)
CIE-LABlab(80.26, -4.99, 59.88)
CIE-LCHlch(80.26, 60.08, 94.76°)
OKLaboklab(82.82% -0.0184 0.1364)
OKLCHoklch(82.82% 0.138 97.7)
XYZxyz(52.3801, 57.1465, 16.2523)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC752 #526ADF
analogous
#DF8052 #DFC752 #B1DF52
triadic
#DFC752 #52DFC7 #C752DF
tetradic
#DFC752 #52DF80 #526ADF #DF52B1
square
#DFC752 #52DF80 #526ADF #DF52B1
split-complementary
#DFC752 #52B1DF #8052DF
monochromatic
#9A851D #CEB126 #DFC752 #E9D886 #F2E8B9

Accessibility & contrast

On white

1.69
#DFC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#DFC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC752
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC752#FFFFFF#000000##000000
##DFC7521.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#F0B9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc752;
/* rgb */ color: rgb(223, 199, 82);
/* oklch */ color: oklch(82.8% 0.138 97.7);
Tailwind
colors: {
  custom: {
    50: '#ecd787',
    500: '#dfc752',
    950: '#000000',
  },
}
SCSS
$custom: #dfc752;
$custom-light: #ecd787;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc752",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 49.787,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82817,
    "c": 0.13767,
    "h": 97.7
  },
  "luminance": 0.57144
}

Semantic roles & 50–950 ramp

primary
#DFC752
secondary
#37499E
accent
#5AEC3C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC752

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

Preview Lab → · Contrast checker → · Palette generator →

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