#DFC552#DFC552

#DFC552 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.4% C 0.136 H 96.5°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#DFC552
RGBrgb(223, 197, 82)
HSLhsl(49, 69%, 60%)
HSVhsv(49, 63%, 87%)
CMYKcmyk(0%, 11.7%, 63.2%, 12.5%)
CIE-LABlab(79.75, -3.96, 59.32)
CIE-LCHlch(79.75, 59.45, 93.82°)
OKLaboklab(82.41% -0.0154 0.1353)
OKLCHoklch(82.41% 0.136 96.5)
XYZxyz(51.9230, 56.2322, 16.0999)
Luminance0.5623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC552 #526CDF
analogous
#DF7F52 #DFC552 #B3DF52
triadic
#DFC552 #52DFC5 #C552DF
tetradic
#DFC552 #52DF7F #526CDF #DF52B3
square
#DFC552 #52DF7F #526CDF #DF52B3
split-complementary
#DFC552 #52B3DF #7F52DF
monochromatic
#9A831D #CEAF26 #DFC552 #E9D686 #F2E8B9

Accessibility & contrast

On white

1.71
#DFC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#DFC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC552
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC552#FFFFFF#000000##000000
##DFC5521.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C145
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#F0B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc552;
/* rgb */ color: rgb(223, 197, 82);
/* oklch */ color: oklch(82.4% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#ecd687',
    500: '#dfc552',
    950: '#000000',
  },
}
SCSS
$custom: #dfc552;
$custom-light: #ecd687;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc552",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 48.936,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82408,
    "c": 0.13614,
    "h": 96.5
  },
  "luminance": 0.5623
}

Semantic roles & 50–950 ramp

primary
#DFC552
secondary
#374A9E
accent
#5DEC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC552

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

Preview Lab → · Contrast checker → · Palette generator →

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