#DCD994#DCD994

#DCD994 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.089 H 106.0°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#DCD994
RGBrgb(220, 217, 148)
HSLhsl(58, 51%, 72%)
HSVhsv(58, 33%, 86%)
CMYKcmyk(0%, 1.4%, 32.7%, 13.7%)
CIE-LABlab(85.49, -9.34, 34.43)
CIE-LCHlch(85.49, 35.67, 105.17°)
OKLaboklab(87.17% -0.0245 0.0854)
OKLCHoklch(87.17% 0.089 106)
XYZxyz(59.6739, 66.9806, 37.7963)
Luminance0.6698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD994 #9497DC
analogous
#DCB594 #DCD994 #BBDC94
triadic
#DCD994 #94DCD9 #D994DC
tetradic
#DCD994 #94DCB5 #9497DC #DC94BB
square
#DCD994 #94DCB5 #9497DC #DC94BB
split-complementary
#DCD994 #94BBDC #B594DC
monochromatic
#B9B43D #CDC966 #DCD994 #EBE9C2 #F7F7E8

Accessibility & contrast

On white

1.46
#DCD994 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#DCD994 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD994
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD994#FFFFFF#000000##000000
##DCD9941.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D48F
Deuteranopia (green-blind)
#E6D797
Tritanopia (blue-blind)
#E6D0C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcd994;
/* rgb */ color: rgb(220, 217, 148);
/* oklch */ color: oklch(87.2% 0.089 106.0);
Tailwind
colors: {
  custom: {
    50: '#e8e4b4',
    500: '#dcd994',
    950: '#000000',
  },
}
SCSS
$custom: #dcd994;
$custom-light: #e8e4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd994",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 148
  },
  "hsl": {
    "h": 57.5,
    "s": 50.704,
    "l": 72.157
  },
  "oklch": {
    "l": 0.87167,
    "c": 0.08881,
    "h": 106
  },
  "luminance": 0.66979
}

Semantic roles & 50–950 ramp

primary
#DCD994
secondary
#6164B4
accent
#2EBE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD994

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

Preview Lab → · Contrast checker → · Palette generator →

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