#DCD792#DCD792

#DCD792 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.7% C 0.089 H 104.6°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DCD792
RGBrgb(220, 215, 146)
HSLhsl(56, 51%, 72%)
HSVhsv(56, 34%, 86%)
CMYKcmyk(0%, 2.3%, 33.6%, 13.7%)
CIE-LABlab(84.94, -8.56, 34.73)
CIE-LCHlch(84.94, 35.77, 103.85°)
OKLaboklab(86.72% -0.0223 0.086)
OKLCHoklch(86.72% 0.089 104.6)
XYZxyz(59.0046, 65.8931, 36.7989)
Luminance0.6589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD792 #9297DC
analogous
#DCB292 #DCD792 #BCDC92
triadic
#DCD792 #92DCD7 #D792DC
tetradic
#DCD792 #92DCB2 #9297DC #DC92BC
square
#DCD792 #92DCB2 #9297DC #DC92BC
split-complementary
#DCD792 #92BCDC #B292DC
monochromatic
#B8B03B #CDC664 #DCD792 #EBE8C0 #F8F7E8

Accessibility & contrast

On white

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

On black

14.18
#DCD792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD792
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD792#FFFFFF#000000##000000
##DCD7921.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D28D
Deuteranopia (green-blind)
#E5D695
Tritanopia (blue-blind)
#E6CEC5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd792;
/* rgb */ color: rgb(220, 215, 146);
/* oklch */ color: oklch(86.7% 0.089 104.6);
Tailwind
colors: {
  custom: {
    50: '#e8e3b2',
    500: '#dcd792',
    950: '#000000',
  },
}
SCSS
$custom: #dcd792;
$custom-light: #e8e3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd792",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 55.946,
    "s": 51.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86719,
    "c": 0.08885,
    "h": 104.6
  },
  "luminance": 0.65892
}

Semantic roles & 50–950 ramp

primary
#DCD792
secondary
#5F64B4
accent
#31BF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD792

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

Preview Lab → · Contrast checker → · Palette generator →

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