#DFC456#DFC456

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

Color values

HEX#DFC456
RGBrgb(223, 196, 86)
HSLhsl(48, 68%, 61%)
HSVhsv(48, 61%, 87%)
CMYKcmyk(0%, 12.1%, 61.4%, 12.5%)
CIE-LABlab(79.52, -3.19, 57.32)
CIE-LCHlch(79.52, 57.41, 93.18°)
OKLaboklab(82.24% -0.0127 0.1316)
OKLCHoklch(82.24% 0.132 95.5)
XYZxyz(51.8533, 55.8422, 16.8496)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC456 #5671DF
analogous
#DF7F56 #DFC456 #B5DF56
triadic
#DFC456 #56DFC4 #C456DF
tetradic
#DFC456 #56DF7F #5671DF #DF56B5
square
#DFC456 #56DF7F #5671DF #DF56B5
split-complementary
#DFC456 #56B5DF #7F56DF
monochromatic
#9D841E #D0AF27 #DFC456 #E9D689 #F2E8BD

Accessibility & contrast

On white

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

On black

12.17
#DFC456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC456
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC456#FFFFFF#000000##000000
##DFC4561.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc456;
/* rgb */ color: rgb(223, 196, 86);
/* oklch */ color: oklch(82.2% 0.132 95.5);
Tailwind
colors: {
  custom: {
    50: '#ecd58a',
    500: '#dfc456',
    950: '#000000',
  },
}
SCSS
$custom: #dfc456;
$custom-light: #ecd58a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc456",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 48.175,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82244,
    "c": 0.13219,
    "h": 95.5
  },
  "luminance": 0.5584
}

Semantic roles & 50–950 ramp

primary
#DFC456
secondary
#394DA0
accent
#3AD015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC456

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

Preview Lab → · Contrast checker → · Palette generator →

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