#DCD992#DCD992

#DCD992 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.091 H 106.1°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#DCD992
RGBrgb(220, 217, 146)
HSLhsl(58, 51%, 72%)
HSVhsv(58, 34%, 86%)
CMYKcmyk(0%, 1.4%, 33.6%, 13.7%)
CIE-LABlab(85.46, -9.57, 35.41)
CIE-LCHlch(85.46, 36.68, 105.13°)
OKLaboklab(87.13% -0.0253 0.0876)
OKLCHoklch(87.13% 0.091 106.1)
XYZxyz(59.5169, 66.9179, 36.9697)
Luminance0.6692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD992 #9295DC
analogous
#DCB492 #DCD992 #BADC92
triadic
#DCD992 #92DCD9 #D992DC
tetradic
#DCD992 #92DCB4 #9295DC #DC92BA
square
#DCD992 #92DCB4 #9295DC #DC92BA
split-complementary
#DCD992 #92BADC #B492DC
monochromatic
#B8B33B #CDC964 #DCD992 #EBE9C0 #F8F7E8

Accessibility & contrast

On white

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

On black

14.38
#DCD992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD992
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD992#FFFFFF#000000##000000
##DCD9921.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd992;
/* rgb */ color: rgb(220, 217, 146);
/* oklch */ color: oklch(87.1% 0.091 106.1);
Tailwind
colors: {
  custom: {
    50: '#e8e4b2',
    500: '#dcd992',
    950: '#000000',
  },
}
SCSS
$custom: #dcd992;
$custom-light: #e8e4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd992",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 146
  },
  "hsl": {
    "h": 57.568,
    "s": 51.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87131,
    "c": 0.09116,
    "h": 106.1
  },
  "luminance": 0.66917
}

Semantic roles & 50–950 ramp

primary
#DCD992
secondary
#5F62B4
accent
#2DBF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD992

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

Preview Lab → · Contrast checker → · Palette generator →

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