#DFC756#DFC756

#DFC756 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.134 H 97.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#DFC756
RGBrgb(223, 199, 86)
HSLhsl(49, 68%, 61%)
HSVhsv(49, 61%, 87%)
CMYKcmyk(0%, 10.8%, 61.4%, 12.5%)
CIE-LABlab(80.30, -4.73, 58.17)
CIE-LCHlch(80.30, 58.36, 94.65°)
OKLaboklab(82.86% -0.0172 0.1334)
OKLCHoklch(82.86% 0.134 97.3)
XYZxyz(52.5368, 57.2091, 17.0775)
Luminance0.5721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC756 #566EDF
analogous
#DF8256 #DFC756 #B2DF56
triadic
#DFC756 #56DFC7 #C756DF
tetradic
#DFC756 #56DF82 #566EDF #DF56B2
square
#DFC756 #56DF82 #566EDF #DF56B2
split-complementary
#DFC756 #56B2DF #8256DF
monochromatic
#9D871E #D0B327 #DFC756 #E9D889 #F2E9BD

Accessibility & contrast

On white

1.69
#DFC756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#DFC756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC756
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC756#FFFFFF#000000##000000
##DFC7561.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34A
Deuteranopia (green-blind)
#DFCB5C
Tritanopia (blue-blind)
#EFB9AF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc756;
/* rgb */ color: rgb(223, 199, 86);
/* oklch */ color: oklch(82.9% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#ecd78a',
    500: '#dfc756',
    950: '#000000',
  },
}
SCSS
$custom: #dfc756;
$custom-light: #ecd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc756",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 49.489,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82856,
    "c": 0.13448,
    "h": 97.3
  },
  "luminance": 0.57207
}

Semantic roles & 50–950 ramp

primary
#DFC756
secondary
#394BA0
accent
#36D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC756

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

Preview Lab → · Contrast checker → · Palette generator →

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