#DCD292#DCD292

#DCD292 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.083 H 100.4°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#DCD292
RGBrgb(220, 210, 146)
HSLhsl(52, 51%, 72%)
HSVhsv(52, 34%, 86%)
CMYKcmyk(0%, 4.5%, 33.6%, 13.7%)
CIE-LABlab(83.64, -6.01, 33.02)
CIE-LCHlch(83.64, 33.56, 100.32°)
OKLaboklab(85.69% -0.015 0.082)
OKLCHoklch(85.69% 0.083 100.4)
XYZxyz(57.7508, 63.3856, 36.3810)
Luminance0.6338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD292 #929CDC
analogous
#DCAD92 #DCD292 #C1DC92
triadic
#DCD292 #92DCD2 #D292DC
tetradic
#DCD292 #92DCAD #929CDC #DC92C1
square
#DCD292 #92DCAD #929CDC #DC92C1
split-complementary
#DCD292 #92C1DC #AD92DC
monochromatic
#B8A73B #CDBF64 #DCD292 #EBE5C0 #F8F5E8

Accessibility & contrast

On white

1.54
#DCD292 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#DCD292 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD292
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD292#FFFFFF#000000##000000
##DCD2921.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE8E
Deuteranopia (green-blind)
#E1D294
Tritanopia (blue-blind)
#E7C9C1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd292;
/* rgb */ color: rgb(220, 210, 146);
/* oklch */ color: oklch(85.7% 0.083 100.4);
Tailwind
colors: {
  custom: {
    50: '#e8dfb2',
    500: '#dcd292',
    950: '#000000',
  },
}
SCSS
$custom: #dcd292;
$custom-light: #e8dfb2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd292",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 146
  },
  "hsl": {
    "h": 51.892,
    "s": 51.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85691,
    "c": 0.08337,
    "h": 100.4
  },
  "luminance": 0.63384
}

Semantic roles & 50–950 ramp

primary
#DCD292
secondary
#5F6AB4
accent
#3BBF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD292

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

Preview Lab → · Contrast checker → · Palette generator →

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