#DFC352#DFC352

#DFC352 is a very light, vivid yellow. Relative luminance 0.553; OKLCH L 82.0% C 0.135 H 95.3°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#DFC352
RGBrgb(223, 195, 82)
HSLhsl(48, 69%, 60%)
HSVhsv(48, 63%, 87%)
CMYKcmyk(0%, 12.6%, 63.2%, 12.5%)
CIE-LABlab(79.23, -2.93, 58.76)
CIE-LCHlch(79.23, 58.84, 92.85°)
OKLaboklab(82% -0.0125 0.1341)
OKLCHoklch(82% 0.135 95.3)
XYZxyz(51.4719, 55.3299, 15.9496)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC352 #526EDF
analogous
#DF7D52 #DFC352 #B5DF52
triadic
#DFC352 #52DFC3 #C352DF
tetradic
#DFC352 #52DF7D #526EDF #DF52B5
square
#DFC352 #52DF7D #526EDF #DF52B5
split-complementary
#DFC352 #52B5DF #7D52DF
monochromatic
#9A811D #CEAC26 #DFC352 #E9D586 #F2E7B9

Accessibility & contrast

On white

1.74
#DFC352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#DFC352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC352
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC352#FFFFFF#000000##000000
##DFC3521.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF45
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#F0B5AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc352;
/* rgb */ color: rgb(223, 195, 82);
/* oklch */ color: oklch(82.0% 0.135 95.3);
Tailwind
colors: {
  custom: {
    50: '#ecd487',
    500: '#dfc352',
    950: '#000000',
  },
}
SCSS
$custom: #dfc352;
$custom-light: #ecd487;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc352",
  "rgb": {
    "r": 223,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 48.085,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82001,
    "c": 0.13466,
    "h": 95.3
  },
  "luminance": 0.55327
}

Semantic roles & 50–950 ramp

primary
#DFC352
secondary
#374C9E
accent
#5FEC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC352

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

Preview Lab → · Contrast checker → · Palette generator →

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