#DCD198#DCD198

#DCD198 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.6% C 0.075 H 98.5°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#DCD198
RGBrgb(220, 209, 152)
HSLhsl(50, 49%, 73%)
HSVhsv(50, 31%, 86%)
CMYKcmyk(0%, 5%, 30.9%, 13.7%)
CIE-LABlab(83.49, -4.77, 29.71)
CIE-LCHlch(83.49, 30.09, 99.11°)
OKLaboklab(85.6% -0.0111 0.0744)
OKLCHoklch(85.6% 0.075 98.5)
XYZxyz(57.9837, 63.0850, 38.8218)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD198 #98A3DC
analogous
#DCAF98 #DCD198 #C5DC98
triadic
#DCD198 #98DCD1 #D198DC
tetradic
#DCD198 #98DCAF #98A3DC #DC98C5
square
#DCD198 #98DCAF #98A3DC #DC98C5
split-complementary
#DCD198 #98C5DC #AF98DC
monochromatic
#BAA63F #CCBD6A #DCD198 #ECE5C6 #F7F5E8

Accessibility & contrast

On white

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

On black

13.62
#DCD198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD198
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD198#FFFFFF#000000##000000
##DCD1981.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCE94
Deuteranopia (green-blind)
#DFD29A
Tritanopia (blue-blind)
#E6C9C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd198;
/* rgb */ color: rgb(220, 209, 152);
/* oklch */ color: oklch(85.6% 0.075 98.5);
Tailwind
colors: {
  custom: {
    50: '#e7dfb6',
    500: '#dcd198',
    950: '#000000',
  },
}
SCSS
$custom: #dcd198;
$custom-light: #e7dfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd198",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 152
  },
  "hsl": {
    "h": 50.294,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.856,
    "c": 0.07519,
    "h": 98.5
  },
  "luminance": 0.63084
}

Semantic roles & 50–950 ramp

primary
#DCD198
secondary
#6471B4
accent
#41BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD198

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

Preview Lab → · Contrast checker → · Palette generator →

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