#DCC781#DCC781

#DCC781 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.2% C 0.092 H 93.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#DCC781
RGBrgb(220, 199, 129)
HSLhsl(46, 57%, 68%)
HSVhsv(46, 41%, 86%)
CMYKcmyk(0%, 9.5%, 41.4%, 13.7%)
CIE-LABlab(80.54, -2.27, 37.70)
CIE-LCHlch(80.54, 37.77, 93.45°)
OKLaboklab(83.15% -0.0053 0.0922)
OKLCHoklch(83.15% 0.092 93.3)
XYZxyz(53.9024, 57.6494, 29.0527)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC781 #8196DC
analogous
#DC9981 #DCC781 #C3DC81
triadic
#DCC781 #81DCC7 #C781DC
tetradic
#DCC781 #81DC99 #8196DC #DC81C3
square
#DCC781 #81DC99 #8196DC #DC81C3
split-complementary
#DCC781 #81C3DC #9981DC
monochromatic
#B19431 #CFB251 #DCC781 #E9DCB1 #F7F2E1

Accessibility & contrast

On white

1.68
#DCC781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#DCC781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC781
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC781#FFFFFF#000000##000000
##DCC7811.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47C
Deuteranopia (green-blind)
#DACB83
Tritanopia (blue-blind)
#E9BDB6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc781;
/* rgb */ color: rgb(220, 199, 129);
/* oklch */ color: oklch(83.2% 0.092 93.3);
Tailwind
colors: {
  custom: {
    50: '#e8d7a6',
    500: '#dcc781',
    950: '#000000',
  },
}
SCSS
$custom: #dcc781;
$custom-light: #e8d7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc781",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 129
  },
  "hsl": {
    "h": 46.154,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83154,
    "c": 0.09235,
    "h": 93.3
  },
  "luminance": 0.57647
}

Semantic roles & 50–950 ramp

primary
#DCC781
secondary
#4F66B3
accent
#47C421
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC781

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

Preview Lab → · Contrast checker → · Palette generator →

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