#DCC788#DCC788

#DCC788 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.3% C 0.085 H 91.8°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#DCC788
RGBrgb(220, 199, 136)
HSLhsl(45, 55%, 70%)
HSVhsv(45, 38%, 86%)
CMYKcmyk(0%, 9.5%, 38.2%, 13.7%)
CIE-LABlab(80.65, -1.50, 34.24)
CIE-LCHlch(80.65, 34.27, 92.52°)
OKLaboklab(83.27% -0.0026 0.0845)
OKLCHoklch(83.27% 0.085 91.8)
XYZxyz(54.3837, 57.8419, 31.5877)
Luminance0.5784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC788 #889DDC
analogous
#DC9D88 #DCC788 #C7DC88
triadic
#DCC788 #88DCC7 #C788DC
tetradic
#DCC788 #88DC9D #889DDC #DC88C7
square
#DCC788 #88DC9D #889DDC #DC88C7
split-complementary
#DCC788 #88C7DC #9D88DC
monochromatic
#B59535 #CEB159 #DCC788 #EADDB7 #F8F4E7

Accessibility & contrast

On white

1.67
#DCC788 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#DCC788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC788
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC788#FFFFFF#000000##000000
##DCC7881.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C583
Deuteranopia (green-blind)
#DACB8A
Tritanopia (blue-blind)
#E8BDB7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc788;
/* rgb */ color: rgb(220, 199, 136);
/* oklch */ color: oklch(83.3% 0.085 91.8);
Tailwind
colors: {
  custom: {
    50: '#e8d7ab',
    500: '#dcc788',
    950: '#000000',
  },
}
SCSS
$custom: #dcc788;
$custom-light: #e8d7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc788",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 136
  },
  "hsl": {
    "h": 45,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83273,
    "c": 0.08456,
    "h": 91.8
  },
  "luminance": 0.5784
}

Semantic roles & 50–950 ramp

primary
#DCC788
secondary
#556DB3
accent
#4BC223
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DCC788

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

Preview Lab → · Contrast checker → · Palette generator →

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