#DCD78B#DCD78B

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

Color values

HEX#DCD78B
RGBrgb(220, 215, 139)
HSLhsl(56, 54%, 70%)
HSVhsv(56, 37%, 86%)
CMYKcmyk(0%, 2.3%, 36.8%, 13.7%)
CIE-LABlab(84.83, -9.37, 38.14)
CIE-LCHlch(84.83, 39.28, 103.81°)
OKLaboklab(86.6% -0.0251 0.0937)
OKLCHoklch(86.6% 0.097 105)
XYZxyz(58.4766, 65.6819, 34.0185)
Luminance0.6568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD78B #8B90DC
analogous
#DCAE8B #DCD78B #B8DC8B
triadic
#DCD78B #8BDCD7 #D78BDC
tetradic
#DCD78B #8BDCAE #8B90DC #DC8BB8
square
#DCD78B #8BDCAE #8B90DC #DC8BB8
split-complementary
#DCD78B #8BB8DC #AE8BDC
monochromatic
#B6AE37 #CEC75C #DCD78B #EAE7BA #F8F7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD78B#FFFFFF#000000##000000
##DCD78B1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd78b;
/* rgb */ color: rgb(220, 215, 139);
/* oklch */ color: oklch(86.6% 0.097 105.0);
Tailwind
colors: {
  custom: {
    50: '#e8e3ae',
    500: '#dcd78b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd78b;
$custom-light: #e8e3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd78b",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 139
  },
  "hsl": {
    "h": 56.296,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86598,
    "c": 0.09696,
    "h": 105
  },
  "luminance": 0.65681
}

Semantic roles & 50–950 ramp

primary
#DCD78B
secondary
#585EB3
accent
#2EC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD78B

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

Preview Lab → · Contrast checker → · Palette generator →

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