#DCD794#DCD794

#DCD794 is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.8% C 0.086 H 104.4°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#DCD794
RGBrgb(220, 215, 148)
HSLhsl(56, 51%, 72%)
HSVhsv(56, 33%, 86%)
CMYKcmyk(0%, 2.3%, 32.7%, 13.7%)
CIE-LABlab(84.97, -8.32, 33.75)
CIE-LCHlch(84.97, 34.76, 103.85°)
OKLaboklab(86.76% -0.0215 0.0838)
OKLCHoklch(86.76% 0.087 104.4)
XYZxyz(59.1615, 65.9559, 37.6255)
Luminance0.6595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD794 #9499DC
analogous
#DCB394 #DCD794 #BDDC94
triadic
#DCD794 #94DCD7 #D794DC
tetradic
#DCD794 #94DCB3 #9499DC #DC94BD
square
#DCD794 #94DCB3 #9499DC #DC94BD
split-complementary
#DCD794 #94BDDC #B394DC
monochromatic
#B9B03D #CDC666 #DCD794 #EBE8C2 #F7F6E8

Accessibility & contrast

On white

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

On black

14.19
#DCD794 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD794
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD794#FFFFFF#000000##000000
##DCD7941.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D28F
Deuteranopia (green-blind)
#E5D697
Tritanopia (blue-blind)
#E6CEC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd794;
/* rgb */ color: rgb(220, 215, 148);
/* oklch */ color: oklch(86.8% 0.086 104.4);
Tailwind
colors: {
  custom: {
    50: '#e8e3b4',
    500: '#dcd794',
    950: '#000000',
  },
}
SCSS
$custom: #dcd794;
$custom-light: #e8e3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd794",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 148
  },
  "hsl": {
    "h": 55.833,
    "s": 50.704,
    "l": 72.157
  },
  "oklch": {
    "l": 0.86755,
    "c": 0.0865,
    "h": 104.4
  },
  "luminance": 0.65955
}

Semantic roles & 50–950 ramp

primary
#DCD794
secondary
#6166B4
accent
#32BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD794

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

Preview Lab → · Contrast checker → · Palette generator →

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