#DCD276#DCD276

#DCD276 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.2% C 0.115 H 103.0°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#DCD276
RGBrgb(220, 210, 118)
HSLhsl(54, 59%, 66%)
HSVhsv(54, 46%, 86%)
CMYKcmyk(0%, 4.5%, 46.4%, 13.7%)
CIE-LABlab(83.24, -9.01, 46.58)
CIE-LCHlch(83.24, 47.44, 100.95°)
OKLaboklab(85.24% -0.0258 0.1116)
OKLCHoklch(85.24% 0.115 103)
XYZxyz(55.8332, 62.6185, 26.2815)
Luminance0.6262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD276 #7680DC
analogous
#DC9F76 #DCD276 #B3DC76
triadic
#DCD276 #76DCD2 #D276DC
tetradic
#DCD276 #76DC9F #7680DC #DC76B3
square
#DCD276 #76DC9F #7680DC #DC76B3
split-complementary
#DCD276 #76B3DC #9F76DC
monochromatic
#AC9F2C #D0C245 #DCD276 #E8E2A7 #F5F2D7

Accessibility & contrast

On white

1.55
#DCD276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#DCD276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD276
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD276#FFFFFF#000000##000000
##DCD2761.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6E
Deuteranopia (green-blind)
#E4D27A
Tritanopia (blue-blind)
#E9C7BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd276;
/* rgb */ color: rgb(220, 210, 118);
/* oklch */ color: oklch(85.2% 0.115 103.0);
Tailwind
colors: {
  custom: {
    50: '#e9df9f',
    500: '#dcd276',
    950: '#000000',
  },
}
SCSS
$custom: #dcd276;
$custom-light: #e9df9f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd276",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 118
  },
  "hsl": {
    "h": 54.118,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8524,
    "c": 0.1145,
    "h": 103
  },
  "luminance": 0.62617
}

Semantic roles & 50–950 ramp

primary
#DCD276
secondary
#4852AE
accent
#2FC71F
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DCD276

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

Preview Lab → · Contrast checker → · Palette generator →

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