#DFC556#DFC556

#DFC556 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.133 H 96.1°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#DFC556
RGBrgb(223, 197, 86)
HSLhsl(49, 68%, 61%)
HSVhsv(49, 61%, 87%)
CMYKcmyk(0%, 11.7%, 61.4%, 12.5%)
CIE-LABlab(79.78, -3.70, 57.60)
CIE-LCHlch(79.78, 57.72, 93.68°)
OKLaboklab(82.45% -0.0142 0.1322)
OKLCHoklch(82.45% 0.133 96.1)
XYZxyz(52.0796, 56.2948, 16.9251)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC556 #5670DF
analogous
#DF8056 #DFC556 #B4DF56
triadic
#DFC556 #56DFC5 #C556DF
tetradic
#DFC556 #56DF80 #5670DF #DF56B4
square
#DFC556 #56DF80 #5670DF #DF56B4
split-complementary
#DFC556 #56B4DF #8056DF
monochromatic
#9D851E #D0B027 #DFC556 #E9D789 #F2E8BD

Accessibility & contrast

On white

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

On black

12.26
#DFC556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC556
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC556#FFFFFF#000000##000000
##DFC5561.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#EFB7AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc556;
/* rgb */ color: rgb(223, 197, 86);
/* oklch */ color: oklch(82.4% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#ecd68a',
    500: '#dfc556',
    950: '#000000',
  },
}
SCSS
$custom: #dfc556;
$custom-light: #ecd68a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc556",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 86
  },
  "hsl": {
    "h": 48.613,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82448,
    "c": 0.13293,
    "h": 96.1
  },
  "luminance": 0.56292
}

Semantic roles & 50–950 ramp

primary
#DFC556
secondary
#394CA0
accent
#39D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC556

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

Preview Lab → · Contrast checker → · Palette generator →

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