#DCD492#DCD492

#DCD492 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 86.1% C 0.086 H 102.1°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#DCD492
RGBrgb(220, 212, 146)
HSLhsl(54, 51%, 72%)
HSVhsv(54, 34%, 86%)
CMYKcmyk(0%, 3.6%, 33.6%, 13.7%)
CIE-LABlab(84.16, -7.04, 33.70)
CIE-LCHlch(84.16, 34.43, 101.79°)
OKLaboklab(86.1% -0.018 0.0836)
OKLCHoklch(86.1% 0.086 102.1)
XYZxyz(58.2477, 64.3793, 36.5466)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD492 #929ADC
analogous
#DCAF92 #DCD492 #BFDC92
triadic
#DCD492 #92DCD4 #D492DC
tetradic
#DCD492 #92DCAF #929ADC #DC92BF
square
#DCD492 #92DCAF #929ADC #DC92BF
split-complementary
#DCD492 #92BFDC #AF92DC
monochromatic
#B8AB3B #CDC264 #DCD492 #EBE6C0 #F8F6E8

Accessibility & contrast

On white

1.51
#DCD492 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#DCD492 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD492
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD492#FFFFFF#000000##000000
##DCD4921.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D08D
Deuteranopia (green-blind)
#E2D494
Tritanopia (blue-blind)
#E7CBC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd492;
/* rgb */ color: rgb(220, 212, 146);
/* oklch */ color: oklch(86.1% 0.086 102.1);
Tailwind
colors: {
  custom: {
    50: '#e8e1b2',
    500: '#dcd492',
    950: '#000000',
  },
}
SCSS
$custom: #dcd492;
$custom-light: #e8e1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd492",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 146
  },
  "hsl": {
    "h": 53.514,
    "s": 51.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86102,
    "c": 0.08552,
    "h": 102.1
  },
  "luminance": 0.64378
}

Semantic roles & 50–950 ramp

primary
#DCD492
secondary
#5F68B4
accent
#37BF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD492

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

Preview Lab → · Contrast checker → · Palette generator →

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