#DCD18D#DCD18D

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

Color values

HEX#DCD18D
RGBrgb(220, 209, 141)
HSLhsl(52, 53%, 71%)
HSVhsv(52, 36%, 86%)
CMYKcmyk(0%, 5%, 35.9%, 13.7%)
CIE-LABlab(83.31, -6.09, 35.14)
CIE-LCHlch(83.31, 35.66, 99.83°)
OKLaboklab(85.4% -0.0155 0.0868)
OKLCHoklch(85.4% 0.088 100.1)
XYZxyz(57.1242, 62.7412, 34.2952)
Luminance0.6274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD18D #8D98DC
analogous
#DCA98D #DCD18D #BFDC8D
triadic
#DCD18D #8DDCD1 #D18DDC
tetradic
#DCD18D #8DDCA9 #8D98DC #DC8DBF
square
#DCD18D #8DDCA9 #8D98DC #DC8DBF
split-complementary
#DCD18D #8DBFDC #A98DDC
monochromatic
#B7A538 #CEBE5E #DCD18D #EAE4BC #F8F6E8

Accessibility & contrast

On white

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

On black

13.55
#DCD18D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD18D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD18D#FFFFFF#000000##000000
##DCD18D1.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCD88
Deuteranopia (green-blind)
#E1D290
Tritanopia (blue-blind)
#E7C8C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd18d;
/* rgb */ color: rgb(220, 209, 141);
/* oklch */ color: oklch(85.4% 0.088 100.1);
Tailwind
colors: {
  custom: {
    50: '#e8dfaf',
    500: '#dcd18d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd18d;
$custom-light: #e8dfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd18d",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 141
  },
  "hsl": {
    "h": 51.646,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85397,
    "c": 0.08817,
    "h": 100.1
  },
  "luminance": 0.6274
}

Semantic roles & 50–950 ramp

primary
#DCD18D
secondary
#5A66B3
accent
#3BC025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD18D

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

Preview Lab → · Contrast checker → · Palette generator →

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