#DCD18A#DCD18A

#DCD18A is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.092 H 100.5°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#DCD18A
RGBrgb(220, 209, 138)
HSLhsl(52, 54%, 70%)
HSVhsv(52, 37%, 86%)
CMYKcmyk(0%, 5%, 37.3%, 13.7%)
CIE-LABlab(83.26, -6.43, 36.61)
CIE-LCHlch(83.26, 37.17, 99.97°)
OKLaboklab(85.35% -0.0167 0.0901)
OKLCHoklch(85.35% 0.092 100.5)
XYZxyz(56.9040, 62.6531, 33.1355)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD18A #8A95DC
analogous
#DCA88A #DCD18A #BEDC8A
triadic
#DCD18A #8ADCD1 #D18ADC
tetradic
#DCD18A #8ADCA8 #8A95DC #DC8ABE
square
#DCD18A #8ADCA8 #8A95DC #DC8ABE
split-complementary
#DCD18A #8ABEDC #A88ADC
monochromatic
#B5A436 #CEBE5B #DCD18A #EAE4B9 #F8F6E7

Accessibility & contrast

On white

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

On black

13.53
#DCD18A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD18A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD18A#FFFFFF#000000##000000
##DCD18A1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd18a;
/* rgb */ color: rgb(220, 209, 138);
/* oklch */ color: oklch(85.3% 0.092 100.5);
Tailwind
colors: {
  custom: {
    50: '#e8dfad',
    500: '#dcd18a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd18a;
$custom-light: #e8dfad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd18a",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 138
  },
  "hsl": {
    "h": 51.951,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85345,
    "c": 0.09163,
    "h": 100.5
  },
  "luminance": 0.62652
}

Semantic roles & 50–950 ramp

primary
#DCD18A
secondary
#5763B3
accent
#39C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD18A

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

Preview Lab → · Contrast checker → · Palette generator →

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