#DCD261#DCD261

#DCD261 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.0% C 0.135 H 104.2°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#DCD261
RGBrgb(220, 210, 97)
HSLhsl(55, 64%, 62%)
HSVhsv(55, 56%, 86%)
CMYKcmyk(0%, 4.5%, 55.9%, 13.7%)
CIE-LABlab(83.01, -10.80, 56.21)
CIE-LCHlch(83.01, 57.24, 100.87°)
OKLaboklab(84.98% -0.0331 0.1306)
OKLCHoklch(84.98% 0.135 104.2)
XYZxyz(54.7212, 62.1737, 20.4252)
Luminance0.6217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD261 #616BDC
analogous
#DC9561 #DCD261 #A9DC61
triadic
#DCD261 #61DCD2 #D261DC
tetradic
#DCD261 #61DC95 #616BDC #DC61A9
square
#DCD261 #61DC95 #616BDC #DC61A9
split-complementary
#DCD261 #61A9DC #9561DC
monochromatic
#9F9523 #D1C42F #DCD261 #E7E093 #F2EFC5

Accessibility & contrast

On white

1.56
#DCD261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#DCD261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD261
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD261#FFFFFF#000000##000000
##DCD2611.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC56
Deuteranopia (green-blind)
#E6D167
Tritanopia (blue-blind)
#EBC5B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd261;
/* rgb */ color: rgb(220, 210, 97);
/* oklch */ color: oklch(85.0% 0.135 104.2);
Tailwind
colors: {
  custom: {
    50: '#e9df91',
    500: '#dcd261',
    950: '#000000',
  },
}
SCSS
$custom: #dcd261;
$custom-light: #e9df91;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd261",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 55.122,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84977,
    "c": 0.13476,
    "h": 104.2
  },
  "luminance": 0.62172
}

Semantic roles & 50–950 ramp

primary
#DCD261
secondary
#3E47A3
accent
#28CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD261

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

Preview Lab → · Contrast checker → · Palette generator →

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