#DCCC71#DCCC71

#DCCC71 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.114 H 99.5°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#DCCC71
RGBrgb(220, 204, 113)
HSLhsl(51, 60%, 65%)
HSVhsv(51, 49%, 86%)
CMYKcmyk(0%, 7.3%, 48.6%, 13.7%)
CIE-LABlab(81.62, -6.42, 47.04)
CIE-LCHlch(81.62, 47.47, 97.77°)
OKLaboklab(83.93% -0.0188 0.1122)
OKLCHoklch(83.93% 0.114 99.5)
XYZxyz(54.0903, 59.5955, 24.2734)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC71 #7181DC
analogous
#DC9671 #DCCC71 #B6DC71
triadic
#DCCC71 #71DCCC #CC71DC
tetradic
#DCCC71 #71DC96 #7181DC #DC71B6
square
#DCCC71 #71DC96 #7181DC #DC71B6
split-complementary
#DCCC71 #71B6DC #9671DC
monochromatic
#A9962A #D0BA40 #DCCC71 #E8DEA2 #F4EFD3

Accessibility & contrast

On white

1.63
#DCCC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#DCCC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC71
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC71#FFFFFF#000000##000000
##DCCC711.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#E0CE75
Tritanopia (blue-blind)
#EAC1B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dccc71;
/* rgb */ color: rgb(220, 204, 113);
/* oklch */ color: oklch(83.9% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#e9db9c',
    500: '#dccc71',
    950: '#000000',
  },
}
SCSS
$custom: #dccc71;
$custom-light: #e9db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc71",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 51.028,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83933,
    "c": 0.11376,
    "h": 99.5
  },
  "luminance": 0.59594
}

Semantic roles & 50–950 ramp

primary
#DCCC71
secondary
#4655AC
accent
#37C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCCC71

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

Preview Lab → · Contrast checker → · Palette generator →

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