#DCD78C#DCD78C

#DCD78C is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.6% C 0.096 H 104.9°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#DCD78C
RGBrgb(220, 215, 140)
HSLhsl(56, 53%, 71%)
HSVhsv(56, 36%, 86%)
CMYKcmyk(0%, 2.3%, 36.4%, 13.7%)
CIE-LABlab(84.85, -9.26, 37.65)
CIE-LCHlch(84.85, 38.78, 103.81°)
OKLaboklab(86.62% -0.0247 0.0926)
OKLCHoklch(86.62% 0.096 104.9)
XYZxyz(58.5500, 65.7113, 34.4051)
Luminance0.6571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD78C #8C91DC
analogous
#DCAF8C #DCD78C #B9DC8C
triadic
#DCD78C #8CDCD7 #D78CDC
tetradic
#DCD78C #8CDCAF #8C91DC #DC8CB9
square
#DCD78C #8CDCAF #8C91DC #DC8CB9
split-complementary
#DCD78C #8CB9DC #AF8CDC
monochromatic
#B6AE37 #CEC75D #DCD78C #EAE7BB #F8F7E8

Accessibility & contrast

On white

1.48
#DCD78C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#DCD78C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD78C
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD78C#FFFFFF#000000##000000
##DCD78C1.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D287
Deuteranopia (green-blind)
#E6D68F
Tritanopia (blue-blind)
#E7CEC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd78c;
/* rgb */ color: rgb(220, 215, 140);
/* oklch */ color: oklch(86.6% 0.096 104.9);
Tailwind
colors: {
  custom: {
    50: '#e8e3ae',
    500: '#dcd78c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd78c;
$custom-light: #e8e3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd78c",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 140
  },
  "hsl": {
    "h": 56.25,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86615,
    "c": 0.09582,
    "h": 104.9
  },
  "luminance": 0.6571
}

Semantic roles & 50–950 ramp

primary
#DCD78C
secondary
#595FB3
accent
#2EC125
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD78C

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

Preview Lab → · Contrast checker → · Palette generator →

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