#DCD498#DCD498

#DCD498 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.2% C 0.078 H 101.4°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#DCD498
RGBrgb(220, 212, 152)
HSLhsl(53, 49%, 73%)
HSVhsv(53, 31%, 86%)
CMYKcmyk(0%, 3.6%, 30.9%, 13.7%)
CIE-LABlab(84.26, -6.30, 30.75)
CIE-LCHlch(84.26, 31.38, 101.58°)
OKLaboklab(86.21% -0.0155 0.0768)
OKLCHoklch(86.21% 0.078 101.4)
XYZxyz(58.7267, 64.5709, 39.0695)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD498 #98A0DC
analogous
#DCB298 #DCD498 #C2DC98
triadic
#DCD498 #98DCD4 #D498DC
tetradic
#DCD498 #98DCB2 #98A0DC #DC98C2
square
#DCD498 #98DCB2 #98A0DC #DC98C2
split-complementary
#DCD498 #98C2DC #B298DC
monochromatic
#BAAC3F #CCC16A #DCD498 #ECE7C6 #F7F5E8

Accessibility & contrast

On white

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

On black

13.91
#DCD498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD498
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD498#FFFFFF#000000##000000
##DCD4981.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD094
Deuteranopia (green-blind)
#E2D49A
Tritanopia (blue-blind)
#E6CCC4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd498;
/* rgb */ color: rgb(220, 212, 152);
/* oklch */ color: oklch(86.2% 0.078 101.4);
Tailwind
colors: {
  custom: {
    50: '#e7e1b6',
    500: '#dcd498',
    950: '#000000',
  },
}
SCSS
$custom: #dcd498;
$custom-light: #e7e1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd498",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 152
  },
  "hsl": {
    "h": 52.941,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86213,
    "c": 0.07838,
    "h": 101.4
  },
  "luminance": 0.6457
}

Semantic roles & 50–950 ramp

primary
#DCD498
secondary
#646EB4
accent
#3ABD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD498

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

Preview Lab → · Contrast checker → · Palette generator →

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