#DCC771#DCC771

#DCC771 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.9% C 0.109 H 96.0°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#DCC771
RGBrgb(220, 199, 113)
HSLhsl(48, 60%, 65%)
HSVhsv(48, 49%, 86%)
CMYKcmyk(0%, 9.5%, 48.6%, 13.7%)
CIE-LABlab(80.32, -3.85, 45.46)
CIE-LCHlch(80.32, 45.62, 94.84°)
OKLaboklab(82.91% -0.0114 0.1087)
OKLCHoklch(82.91% 0.109 96)
XYZxyz(52.9209, 57.2568, 23.8836)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC771 #7186DC
analogous
#DC9171 #DCC771 #BCDC71
triadic
#DCC771 #71DCC7 #C771DC
tetradic
#DCC771 #71DC91 #7186DC #DC71BC
square
#DCC771 #71DC91 #7186DC #DC71BC
split-complementary
#DCC771 #71BCDC #9171DC
monochromatic
#A9902A #D0B440 #DCC771 #E8DAA2 #F4EED3

Accessibility & contrast

On white

1.69
#DCC771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#DCC771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC771
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC771#FFFFFF#000000##000000
##DCC7711.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C36A
Deuteranopia (green-blind)
#DCCA74
Tritanopia (blue-blind)
#EABBB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc771;
/* rgb */ color: rgb(220, 199, 113);
/* oklch */ color: oklch(82.9% 0.109 96.0);
Tailwind
colors: {
  custom: {
    50: '#e9d79b',
    500: '#dcc771',
    950: '#000000',
  },
}
SCSS
$custom: #dcc771;
$custom-light: #e9d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc771",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 113
  },
  "hsl": {
    "h": 48.224,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82909,
    "c": 0.1093,
    "h": 96
  },
  "luminance": 0.57255
}

Semantic roles & 50–950 ramp

primary
#DCC771
secondary
#465AAC
accent
#3FC81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC771

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

Preview Lab → · Contrast checker → · Palette generator →

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