#DFC452#DFC452

#DFC452 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.2% C 0.135 H 95.9°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#DFC452
RGBrgb(223, 196, 82)
HSLhsl(49, 69%, 60%)
HSVhsv(49, 63%, 87%)
CMYKcmyk(0%, 12.1%, 63.2%, 12.5%)
CIE-LABlab(79.49, -3.44, 59.04)
CIE-LCHlch(79.49, 59.14, 93.34°)
OKLaboklab(82.2% -0.014 0.1347)
OKLCHoklch(82.2% 0.135 95.9)
XYZxyz(51.6967, 55.7796, 16.0245)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC452 #526DDF
analogous
#DF7E52 #DFC452 #B3DF52
triadic
#DFC452 #52DFC4 #C452DF
tetradic
#DFC452 #52DF7E #526DDF #DF52B3
square
#DFC452 #52DF7E #526DDF #DF52B3
split-complementary
#DFC452 #52B3DF #7E52DF
monochromatic
#9A821D #CEAE26 #DFC452 #E9D686 #F2E7B9

Accessibility & contrast

On white

1.73
#DFC452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#DFC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC452
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC452#FFFFFF#000000##000000
##DFC4521.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#F0B6AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc452;
/* rgb */ color: rgb(223, 196, 82);
/* oklch */ color: oklch(82.2% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#ecd587',
    500: '#dfc452',
    950: '#000000',
  },
}
SCSS
$custom: #dfc452;
$custom-light: #ecd587;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc452",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 48.511,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82204,
    "c": 0.13539,
    "h": 95.9
  },
  "luminance": 0.55777
}

Semantic roles & 50–950 ramp

primary
#DFC452
secondary
#374B9E
accent
#5EEC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC452

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

Preview Lab → · Contrast checker → · Palette generator →

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