#DCC256#DCC256

#DCC256 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.130 H 95.8°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#DCC256
RGBrgb(220, 194, 86)
HSLhsl(48, 66%, 60%)
HSVhsv(48, 61%, 86%)
CMYKcmyk(0%, 11.8%, 60.9%, 13.7%)
CIE-LABlab(78.74, -3.41, 56.37)
CIE-LCHlch(78.74, 56.48, 93.46°)
OKLaboklab(81.56% -0.0132 0.1296)
OKLCHoklch(81.56% 0.13 95.8)
XYZxyz(50.4889, 54.4735, 16.6573)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC256 #5670DC
analogous
#DC7F56 #DCC256 #B3DC56
triadic
#DCC256 #56DCC2 #C256DC
tetradic
#DCC256 #56DC7F #5670DC #DC56B3
square
#DCC256 #56DC7F #5670DC #DC56B3
split-complementary
#DCC256 #56B3DC #7F56DC
monochromatic
#988120 #CBAC2A #DCC256 #E6D489 #F1E7BB

Accessibility & contrast

On white

1.77
#DCC256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#DCC256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC256
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC256#FFFFFF#000000##000000
##DCC2561.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc256;
/* rgb */ color: rgb(220, 194, 86);
/* oklch */ color: oklch(81.6% 0.130 95.8);
Tailwind
colors: {
  custom: {
    50: '#ead48a',
    500: '#dcc256',
    950: '#000000',
  },
}
SCSS
$custom: #dcc256;
$custom-light: #ead48a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc256",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 48.358,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.81558,
    "c": 0.13029,
    "h": 95.8
  },
  "luminance": 0.54471
}

Semantic roles & 50–950 ramp

primary
#DCC256
secondary
#3A4D9C
accent
#60E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC256

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

Preview Lab → · Contrast checker → · Palette generator →

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