#DCCD71#DCCD71

#DCCD71 is a very light, moderate yellow. Relative luminance 0.601; OKLCH L 84.1% C 0.115 H 100.2°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#DCCD71
RGBrgb(220, 205, 113)
HSLhsl(52, 60%, 65%)
HSVhsv(52, 49%, 86%)
CMYKcmyk(0%, 6.8%, 48.6%, 13.7%)
CIE-LABlab(81.88, -6.93, 47.35)
CIE-LCHlch(81.88, 47.86, 98.33°)
OKLaboklab(84.14% -0.0203 0.1129)
OKLCHoklch(84.14% 0.115 100.2)
XYZxyz(54.3287, 60.0724, 24.3529)
Luminance0.6007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCD71 #7180DC
analogous
#DC9871 #DCCD71 #B5DC71
triadic
#DCCD71 #71DCCD #CD71DC
tetradic
#DCCD71 #71DC98 #7180DC #DC71B5
square
#DCCD71 #71DC98 #7180DC #DC71B5
split-complementary
#DCCD71 #71B5DC #9871DC
monochromatic
#A9972A #D0BC40 #DCCD71 #E8DEA2 #F4F0D3

Accessibility & contrast

On white

1.61
#DCCD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#DCCD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCD71
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCD71#FFFFFF#000000##000000
##DCCD711.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC869
Deuteranopia (green-blind)
#E1CE75
Tritanopia (blue-blind)
#EAC2B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dccd71;
/* rgb */ color: rgb(220, 205, 113);
/* oklch */ color: oklch(84.1% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#e9dc9c',
    500: '#dccd71',
    950: '#000000',
  },
}
SCSS
$custom: #dccd71;
$custom-light: #e9dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dccd71",
  "rgb": {
    "r": 220,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 51.589,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.84139,
    "c": 0.11471,
    "h": 100.2
  },
  "luminance": 0.60071
}

Semantic roles & 50–950 ramp

primary
#DCCD71
secondary
#4654AC
accent
#35C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCCD71

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

Preview Lab → · Contrast checker → · Palette generator →

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