#DCD392#DCD392

#DCD392 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.9% C 0.084 H 101.3°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#DCD392
RGBrgb(220, 211, 146)
HSLhsl(53, 51%, 72%)
HSVhsv(53, 34%, 86%)
CMYKcmyk(0%, 4.1%, 33.6%, 13.7%)
CIE-LABlab(83.90, -6.52, 33.36)
CIE-LCHlch(83.90, 33.99, 101.07°)
OKLaboklab(85.9% -0.0165 0.0828)
OKLCHoklch(85.9% 0.084 101.3)
XYZxyz(57.9985, 63.8809, 36.4636)
Luminance0.6388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD392 #929BDC
analogous
#DCAE92 #DCD392 #C0DC92
triadic
#DCD392 #92DCD3 #D392DC
tetradic
#DCD392 #92DCAE #929BDC #DC92C0
square
#DCD392 #92DCAE #929BDC #DC92C0
split-complementary
#DCD392 #92C0DC #AE92DC
monochromatic
#B8A93B #CDC064 #DCD392 #EBE6C0 #F8F6E8

Accessibility & contrast

On white

1.52
#DCD392 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#DCD392 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD392
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD392#FFFFFF#000000##000000
##DCD3921.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF8D
Deuteranopia (green-blind)
#E2D394
Tritanopia (blue-blind)
#E7CAC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd392;
/* rgb */ color: rgb(220, 211, 146);
/* oklch */ color: oklch(85.9% 0.084 101.3);
Tailwind
colors: {
  custom: {
    50: '#e8e0b2',
    500: '#dcd392',
    950: '#000000',
  },
}
SCSS
$custom: #dcd392;
$custom-light: #e8e0b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd392",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 146
  },
  "hsl": {
    "h": 52.703,
    "s": 51.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85896,
    "c": 0.08444,
    "h": 101.3
  },
  "luminance": 0.63879
}

Semantic roles & 50–950 ramp

primary
#DCD392
secondary
#5F69B4
accent
#39BF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD392

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

Preview Lab → · Contrast checker → · Palette generator →

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