#DFC856#DFC856

#DFC856 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.135 H 97.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#DFC856
RGBrgb(223, 200, 86)
HSLhsl(50, 68%, 61%)
HSVhsv(50, 61%, 87%)
CMYKcmyk(0%, 10.3%, 61.4%, 12.5%)
CIE-LABlab(80.56, -5.25, 58.46)
CIE-LCHlch(80.56, 58.69, 95.13°)
OKLaboklab(83.06% -0.0187 0.134)
OKLCHoklch(83.06% 0.135 97.9)
XYZxyz(52.7676, 57.6708, 17.1544)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC856 #566DDF
analogous
#DF8356 #DFC856 #B1DF56
triadic
#DFC856 #56DFC8 #C856DF
tetradic
#DFC856 #56DF83 #566DDF #DF56B1
square
#DFC856 #56DF83 #566DDF #DF56B1
split-complementary
#DFC856 #56B1DF #8356DF
monochromatic
#9D881E #D0B427 #DFC856 #E9D989 #F2E9BD

Accessibility & contrast

On white

1.68
#DFC856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#DFC856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC856
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC856#FFFFFF#000000##000000
##DFC8561.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC349
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#EFBAAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc856;
/* rgb */ color: rgb(223, 200, 86);
/* oklch */ color: oklch(83.1% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#ecd88a',
    500: '#dfc856',
    950: '#000000',
  },
}
SCSS
$custom: #dfc856;
$custom-light: #ecd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc856",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 49.927,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83061,
    "c": 0.13528,
    "h": 97.9
  },
  "luminance": 0.57668
}

Semantic roles & 50–950 ramp

primary
#DFC856
secondary
#394AA0
accent
#35D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC856

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

Preview Lab → · Contrast checker → · Palette generator →

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