#DFC256#DFC256

#DFC256 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.8% C 0.131 H 94.3°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#DFC256
RGBrgb(223, 194, 86)
HSLhsl(47, 68%, 61%)
HSVhsv(47, 61%, 87%)
CMYKcmyk(0%, 13%, 61.4%, 12.5%)
CIE-LABlab(79.01, -2.15, 56.75)
CIE-LCHlch(79.01, 56.79, 92.17°)
OKLaboklab(81.84% -0.0098 0.1304)
OKLCHoklch(81.84% 0.131 94.3)
XYZxyz(51.4052, 54.9460, 16.7003)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC256 #5673DF
analogous
#DF7D56 #DFC256 #B8DF56
triadic
#DFC256 #56DFC2 #C256DF
tetradic
#DFC256 #56DF7D #5673DF #DF56B8
square
#DFC256 #56DF7D #5673DF #DF56B8
split-complementary
#DFC256 #56B8DF #7D56DF
monochromatic
#9D821E #D0AD27 #DFC256 #E9D589 #F2E7BD

Accessibility & contrast

On white

1.75
#DFC256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#DFC256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC256
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC256#FFFFFF#000000##000000
##DFC2561.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#DCC75B
Tritanopia (blue-blind)
#F0B4AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc256;
/* rgb */ color: rgb(223, 194, 86);
/* oklch */ color: oklch(81.8% 0.131 94.3);
Tailwind
colors: {
  custom: {
    50: '#ecd48a',
    500: '#dfc256',
    950: '#000000',
  },
}
SCSS
$custom: #dfc256;
$custom-light: #ecd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc256",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 47.299,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81838,
    "c": 0.13073,
    "h": 94.3
  },
  "luminance": 0.54943
}

Semantic roles & 50–950 ramp

primary
#DFC256
secondary
#394FA0
accent
#3DD015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC256

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

Preview Lab → · Contrast checker → · Palette generator →

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