#DCD256#DCD256

#DCD256 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.9% C 0.144 H 104.7°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#DCD256
RGBrgb(220, 210, 86)
HSLhsl(56, 66%, 60%)
HSVhsv(56, 61%, 86%)
CMYKcmyk(0%, 4.5%, 60.9%, 13.7%)
CIE-LABlab(82.90, -11.57, 60.94)
CIE-LCHlch(82.90, 62.03, 100.75°)
OKLaboklab(84.86% -0.0365 0.1394)
OKLCHoklch(84.86% 0.144 104.7)
XYZxyz(54.2434, 61.9826, 17.9088)
Luminance0.6198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD256 #5660DC
analogous
#DC8F56 #DCD256 #A3DC56
triadic
#DCD256 #56DCD2 #D256DC
tetradic
#DCD256 #56DC8F #5660DC #DC56A3
square
#DCD256 #56DC8F #5660DC #DC56A3
split-complementary
#DCD256 #56A3DC #8F56DC
monochromatic
#988F20 #CBBF2A #DCD256 #E6DF89 #F1EDBB

Accessibility & contrast

On white

1.57
#DCD256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#DCD256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD256
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD256#FFFFFF#000000##000000
##DCD2561.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB48
Deuteranopia (green-blind)
#E7D15D
Tritanopia (blue-blind)
#EBC5B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd256;
/* rgb */ color: rgb(220, 210, 86);
/* oklch */ color: oklch(84.9% 0.144 104.7);
Tailwind
colors: {
  custom: {
    50: '#eadf8b',
    500: '#dcd256',
    950: '#000000',
  },
}
SCSS
$custom: #dcd256;
$custom-light: #eadf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd256",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 55.522,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.84864,
    "c": 0.14406,
    "h": 104.7
  },
  "luminance": 0.61981
}

Semantic roles & 50–950 ramp

primary
#DCD256
secondary
#3A419C
accent
#4CE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD256

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

Preview Lab → · Contrast checker → · Palette generator →

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