#DCD18B#DCD18B

#DCD18B is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.090 H 100.4°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#DCD18B
RGBrgb(220, 209, 139)
HSLhsl(52, 54%, 70%)
HSVhsv(52, 37%, 86%)
CMYKcmyk(0%, 5%, 36.8%, 13.7%)
CIE-LABlab(83.27, -6.32, 36.12)
CIE-LCHlch(83.27, 36.67, 99.92°)
OKLaboklab(85.36% -0.0163 0.089)
OKLCHoklch(85.36% 0.09 100.4)
XYZxyz(56.9768, 62.6822, 33.5186)
Luminance0.6268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD18B #8B96DC
analogous
#DCA88B #DCD18B #BEDC8B
triadic
#DCD18B #8BDCD1 #D18BDC
tetradic
#DCD18B #8BDCA8 #8B96DC #DC8BBE
square
#DCD18B #8BDCA8 #8B96DC #DC8BBE
split-complementary
#DCD18B #8BBEDC #A88BDC
monochromatic
#B6A537 #CEBE5C #DCD18B #EAE4BA #F8F6E7

Accessibility & contrast

On white

1.55
#DCD18B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#DCD18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD18B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD18B#FFFFFF#000000##000000
##DCD18B1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD86
Deuteranopia (green-blind)
#E1D28E
Tritanopia (blue-blind)
#E8C8BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd18b;
/* rgb */ color: rgb(220, 209, 139);
/* oklch */ color: oklch(85.4% 0.090 100.4);
Tailwind
colors: {
  custom: {
    50: '#e8dfad',
    500: '#dcd18b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd18b;
$custom-light: #e8dfad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd18b",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 139
  },
  "hsl": {
    "h": 51.852,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.85362,
    "c": 0.09047,
    "h": 100.4
  },
  "luminance": 0.62681
}

Semantic roles & 50–950 ramp

primary
#DCD18B
secondary
#5864B3
accent
#3AC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD18B

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

Preview Lab → · Contrast checker → · Palette generator →

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