#DCD277#DCD277

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

Color values

HEX#DCD277
RGBrgb(220, 210, 119)
HSLhsl(54, 59%, 66%)
HSVhsv(54, 46%, 86%)
CMYKcmyk(0%, 4.5%, 45.9%, 13.7%)
CIE-LABlab(83.25, -8.92, 46.11)
CIE-LCHlch(83.25, 46.96, 100.95°)
OKLaboklab(85.25% -0.0255 0.1106)
OKLCHoklch(85.25% 0.113 103)
XYZxyz(55.8929, 62.6424, 26.5961)
Luminance0.6264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD277 #7781DC
analogous
#DCA077 #DCD277 #B4DC77
triadic
#DCD277 #77DCD2 #D277DC
tetradic
#DCD277 #77DCA0 #7781DC #DC77B4
square
#DCD277 #77DCA0 #7781DC #DC77B4
split-complementary
#DCD277 #77B4DC #A077DC
monochromatic
#ACA02C #CFC246 #DCD277 #E9E2A8 #F5F2D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD277#FFFFFF#000000##000000
##DCD2771.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)
#E1CC6F
Deuteranopia (green-blind)
#E4D27B
Tritanopia (blue-blind)
#E9C7BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd277;
/* rgb */ color: rgb(220, 210, 119);
/* oklch */ color: oklch(85.3% 0.113 103.0);
Tailwind
colors: {
  custom: {
    50: '#e9dfa0',
    500: '#dcd277',
    950: '#000000',
  },
}
SCSS
$custom: #dcd277;
$custom-light: #e9dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd277",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 119
  },
  "hsl": {
    "h": 54.059,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85254,
    "c": 0.11346,
    "h": 103
  },
  "luminance": 0.62641
}

Semantic roles & 50–950 ramp

primary
#DCD277
secondary
#4853AF
accent
#2FC71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD277

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

Preview Lab → · Contrast checker → · Palette generator →

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