#DCD161#DCD161

#DCD161 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.8% C 0.134 H 103.7°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#DCD161
RGBrgb(220, 209, 97)
HSLhsl(55, 64%, 62%)
HSVhsv(55, 56%, 86%)
CMYKcmyk(0%, 5%, 55.9%, 13.7%)
CIE-LABlab(82.74, -10.29, 55.91)
CIE-LCHlch(82.74, 56.85, 100.43°)
OKLaboklab(84.77% -0.0317 0.13)
OKLCHoklch(84.77% 0.134 103.7)
XYZxyz(54.4751, 61.6815, 20.3431)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD161 #616CDC
analogous
#DC9461 #DCD161 #AADC61
triadic
#DCD161 #61DCD1 #D161DC
tetradic
#DCD161 #61DC94 #616CDC #DC61AA
square
#DCD161 #61DC94 #616CDC #DC61AA
split-complementary
#DCD161 #61AADC #9461DC
monochromatic
#9F9423 #D1C22F #DCD161 #E7E093 #F2EEC5

Accessibility & contrast

On white

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

On black

13.34
#DCD161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD161
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD161#FFFFFF#000000##000000
##DCD1611.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB56
Deuteranopia (green-blind)
#E5D167
Tritanopia (blue-blind)
#EBC4B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd161;
/* rgb */ color: rgb(220, 209, 97);
/* oklch */ color: oklch(84.8% 0.134 103.7);
Tailwind
colors: {
  custom: {
    50: '#e9de91',
    500: '#dcd161',
    950: '#000000',
  },
}
SCSS
$custom: #dcd161;
$custom-light: #e9de91;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd161",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 54.634,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84769,
    "c": 0.13379,
    "h": 103.7
  },
  "luminance": 0.6168
}

Semantic roles & 50–950 ramp

primary
#DCD161
secondary
#3E47A3
accent
#2ACC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD161

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

Preview Lab → · Contrast checker → · Palette generator →

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