#DCD18C#DCD18C

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

Color values

HEX#DCD18C
RGBrgb(220, 209, 140)
HSLhsl(52, 53%, 71%)
HSVhsv(52, 36%, 86%)
CMYKcmyk(0%, 5%, 36.4%, 13.7%)
CIE-LABlab(83.29, -6.21, 35.63)
CIE-LCHlch(83.29, 36.17, 99.88°)
OKLaboklab(85.38% -0.0159 0.0879)
OKLCHoklch(85.38% 0.089 100.3)
XYZxyz(57.0502, 62.7115, 33.9051)
Luminance0.6271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD18C #8C97DC
analogous
#DCA98C #DCD18C #BFDC8C
triadic
#DCD18C #8CDCD1 #D18CDC
tetradic
#DCD18C #8CDCA9 #8C97DC #DC8CBF
square
#DCD18C #8CDCA9 #8C97DC #DC8CBF
split-complementary
#DCD18C #8CBFDC #A98CDC
monochromatic
#B6A537 #CEBE5D #DCD18C #EAE4BB #F8F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD18C#FFFFFF#000000##000000
##DCD18C1.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)
#DDCD87
Deuteranopia (green-blind)
#E1D28F
Tritanopia (blue-blind)
#E7C8BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd18c;
/* rgb */ color: rgb(220, 209, 140);
/* oklch */ color: oklch(85.4% 0.089 100.3);
Tailwind
colors: {
  custom: {
    50: '#e8dfae',
    500: '#dcd18c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd18c;
$custom-light: #e8dfae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd18c",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 140
  },
  "hsl": {
    "h": 51.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8538,
    "c": 0.08933,
    "h": 100.3
  },
  "luminance": 0.6271
}

Semantic roles & 50–950 ramp

primary
#DCD18C
secondary
#5965B3
accent
#3AC125
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD18C

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

Preview Lab → · Contrast checker → · Palette generator →

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