#DCD78E#DCD78E

#DCD78E is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.094 H 104.8°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#DCD78E
RGBrgb(220, 215, 142)
HSLhsl(56, 53%, 71%)
HSVhsv(56, 35%, 86%)
CMYKcmyk(0%, 2.3%, 35.5%, 13.7%)
CIE-LABlab(84.88, -9.03, 36.68)
CIE-LCHlch(84.88, 37.78, 103.83°)
OKLaboklab(86.65% -0.0239 0.0904)
OKLCHoklch(86.65% 0.094 104.8)
XYZxyz(58.6988, 65.7708, 35.1888)
Luminance0.6577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD78E #8E93DC
analogous
#DCB08E #DCD78E #BADC8E
triadic
#DCD78E #8EDCD7 #D78EDC
tetradic
#DCD78E #8EDCB0 #8E93DC #DC8EBA
square
#DCD78E #8EDCB0 #8E93DC #DC8EBA
split-complementary
#DCD78E #8EBADC #B08EDC
monochromatic
#B7AF39 #CEC65F #DCD78E #EAE8BD #F8F7E8

Accessibility & contrast

On white

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

On black

14.15
#DCD78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD78E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD78E#FFFFFF#000000##000000
##DCD78E1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D289
Deuteranopia (green-blind)
#E5D691
Tritanopia (blue-blind)
#E7CEC5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd78e;
/* rgb */ color: rgb(220, 215, 142);
/* oklch */ color: oklch(86.6% 0.094 104.8);
Tailwind
colors: {
  custom: {
    50: '#e8e3b0',
    500: '#dcd78e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd78e;
$custom-light: #e8e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd78e",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 142
  },
  "hsl": {
    "h": 56.154,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86649,
    "c": 0.09351,
    "h": 104.8
  },
  "luminance": 0.6577
}

Semantic roles & 50–950 ramp

primary
#DCD78E
secondary
#5B61B3
accent
#2FC025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD78E

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

Preview Lab → · Contrast checker → · Palette generator →

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