#DCD78A#DCD78A

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

Color values

HEX#DCD78A
RGBrgb(220, 215, 138)
HSLhsl(56, 54%, 70%)
HSVhsv(56, 37%, 86%)
CMYKcmyk(0%, 2.3%, 37.3%, 13.7%)
CIE-LABlab(84.82, -9.48, 38.63)
CIE-LCHlch(84.82, 39.77, 103.80°)
OKLaboklab(86.58% -0.0255 0.0947)
OKLCHoklch(86.58% 0.098 105.1)
XYZxyz(58.4039, 65.6528, 33.6355)
Luminance0.6565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD78A #8A8FDC
analogous
#DCAE8A #DCD78A #B8DC8A
triadic
#DCD78A #8ADCD7 #D78ADC
tetradic
#DCD78A #8ADCAE #8A8FDC #DC8AB8
square
#DCD78A #8ADCAE #8A8FDC #DC8AB8
split-complementary
#DCD78A #8AB8DC #AE8ADC
monochromatic
#B5AE36 #CEC75B #DCD78A #EAE7B9 #F8F7E7

Accessibility & contrast

On white

1.49
#DCD78A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#DCD78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD78A
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD78A#FFFFFF#000000##000000
##DCD78A1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd78a;
/* rgb */ color: rgb(220, 215, 138);
/* oklch */ color: oklch(86.6% 0.098 105.1);
Tailwind
colors: {
  custom: {
    50: '#e8e3ad',
    500: '#dcd78a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd78a;
$custom-light: #e8e3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd78a",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 138
  },
  "hsl": {
    "h": 56.341,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86581,
    "c": 0.0981,
    "h": 105.1
  },
  "luminance": 0.65651
}

Semantic roles & 50–950 ramp

primary
#DCD78A
secondary
#575DB3
accent
#2EC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD78A

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

Preview Lab → · Contrast checker → · Palette generator →

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