#DCD278#DCD278

#DCD278 is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.112 H 102.9°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#DCD278
RGBrgb(220, 210, 120)
HSLhsl(54, 59%, 67%)
HSVhsv(54, 45%, 86%)
CMYKcmyk(0%, 4.5%, 45.5%, 13.7%)
CIE-LABlab(83.27, -8.82, 45.63)
CIE-LCHlch(83.27, 46.48, 100.94°)
OKLaboklab(85.27% -0.0251 0.1096)
OKLCHoklch(85.27% 0.112 102.9)
XYZxyz(55.9533, 62.6666, 26.9141)
Luminance0.6267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD278 #7882DC
analogous
#DCA078 #DCD278 #B4DC78
triadic
#DCD278 #78DCD2 #D278DC
tetradic
#DCD278 #78DCA0 #7882DC #DC78B4
square
#DCD278 #78DCA0 #7882DC #DC78B4
split-complementary
#DCD278 #78B4DC #A078DC
monochromatic
#ADA02D #CFC247 #DCD278 #E9E2A9 #F5F2D9

Accessibility & contrast

On white

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

On black

13.53
#DCD278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD278
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD278#FFFFFF#000000##000000
##DCD2781.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD71
Deuteranopia (green-blind)
#E4D27C
Tritanopia (blue-blind)
#E9C7BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd278;
/* rgb */ color: rgb(220, 210, 120);
/* oklch */ color: oklch(85.3% 0.112 102.9);
Tailwind
colors: {
  custom: {
    50: '#e8dfa0',
    500: '#dcd278',
    950: '#000000',
  },
}
SCSS
$custom: #dcd278;
$custom-light: #e8dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd278",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 54,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85269,
    "c": 0.11242,
    "h": 102.9
  },
  "luminance": 0.62665
}

Semantic roles & 50–950 ramp

primary
#DCD278
secondary
#4953AF
accent
#30C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD278

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

Preview Lab → · Contrast checker → · Palette generator →

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