#DCD771#DCD771

#DCD771 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.2% C 0.125 H 106.2°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#DCD771
RGBrgb(220, 215, 113)
HSLhsl(57, 60%, 65%)
HSVhsv(57, 49%, 86%)
CMYKcmyk(0%, 2.3%, 48.6%, 13.7%)
CIE-LABlab(84.49, -11.99, 50.50)
CIE-LCHlch(84.49, 51.91, 103.36°)
OKLaboklab(86.21% -0.0349 0.1198)
OKLCHoklch(86.21% 0.125 106.2)
XYZxyz(56.7977, 65.0103, 25.1759)
Luminance0.6501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD771 #7176DC
analogous
#DCA171 #DCD771 #ACDC71
triadic
#DCD771 #71DCD7 #D771DC
tetradic
#DCD771 #71DCA1 #7176DC #DC71AC
square
#DCD771 #71DCA1 #7176DC #DC71AC
split-complementary
#DCD771 #71ACDC #A171DC
monochromatic
#A9A32A #D0C940 #DCD771 #E8E5A2 #F4F3D3

Accessibility & contrast

On white

1.50
#DCD771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#DCD771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD771
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD771#FFFFFF#000000##000000
##DCD7711.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#E8D576
Tritanopia (blue-blind)
#E9CCBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd771;
/* rgb */ color: rgb(220, 215, 113);
/* oklch */ color: oklch(86.2% 0.125 106.2);
Tailwind
colors: {
  custom: {
    50: '#e9e39c',
    500: '#dcd771',
    950: '#000000',
  },
}
SCSS
$custom: #dcd771;
$custom-light: #e9e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd771",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 57.196,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86212,
    "c": 0.12478,
    "h": 106.2
  },
  "luminance": 0.65009
}

Semantic roles & 50–950 ramp

primary
#DCD771
secondary
#464AAC
accent
#25C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD771

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

Preview Lab → · Contrast checker → · Palette generator →

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