#DCD78F#DCD78F

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

Color values

HEX#DCD78F
RGBrgb(220, 215, 143)
HSLhsl(56, 52%, 71%)
HSVhsv(56, 35%, 86%)
CMYKcmyk(0%, 2.3%, 35%, 13.7%)
CIE-LABlab(84.89, -8.91, 36.19)
CIE-LCHlch(84.89, 37.27, 103.84°)
OKLaboklab(86.67% -0.0235 0.0893)
OKLCHoklch(86.67% 0.092 104.8)
XYZxyz(58.7743, 65.8010, 35.5860)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD78F #8F94DC
analogous
#DCB08F #DCD78F #BADC8F
triadic
#DCD78F #8FDCD7 #D78FDC
tetradic
#DCD78F #8FDCB0 #8F94DC #DC8FBA
square
#DCD78F #8FDCB0 #8F94DC #DC8FBA
split-complementary
#DCD78F #8FBADC #B08FDC
monochromatic
#B7AF39 #CDC660 #DCD78F #EBE8BE #F8F7E8

Accessibility & contrast

On white

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

On black

14.16
#DCD78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD78F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD78F#FFFFFF#000000##000000
##DCD78F1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd78f;
/* rgb */ color: rgb(220, 215, 143);
/* oklch */ color: oklch(86.7% 0.092 104.8);
Tailwind
colors: {
  custom: {
    50: '#e8e3b0',
    500: '#dcd78f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd78f;
$custom-light: #e8e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd78f",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 143
  },
  "hsl": {
    "h": 56.104,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86666,
    "c": 0.09236,
    "h": 104.8
  },
  "luminance": 0.658
}

Semantic roles & 50–950 ramp

primary
#DCD78F
secondary
#5C62B3
accent
#30C026
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD78F

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

Preview Lab → · Contrast checker → · Palette generator →

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