#DCD18F#DCD18F

#DCD18F is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.086 H 99.9°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#DCD18F
RGBrgb(220, 209, 143)
HSLhsl(51, 52%, 71%)
HSVhsv(51, 35%, 86%)
CMYKcmyk(0%, 5%, 35%, 13.7%)
CIE-LABlab(83.34, -5.86, 34.16)
CIE-LCHlch(83.34, 34.65, 99.73°)
OKLaboklab(85.43% -0.0147 0.0846)
OKLCHoklch(85.43% 0.086 99.9)
XYZxyz(57.2744, 62.8012, 35.0861)
Luminance0.6280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD18F #8F9ADC
analogous
#DCAA8F #DCD18F #C0DC8F
triadic
#DCD18F #8FDCD1 #D18FDC
tetradic
#DCD18F #8FDCAA #8F9ADC #DC8FC0
square
#DCD18F #8FDCAA #8F9ADC #DC8FC0
split-complementary
#DCD18F #8FC0DC #AA8FDC
monochromatic
#B7A539 #CDBE60 #DCD18F #EBE4BE #F8F5E8

Accessibility & contrast

On white

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

On black

13.56
#DCD18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD18F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD18F#FFFFFF#000000##000000
##DCD18F1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd18f;
/* rgb */ color: rgb(220, 209, 143);
/* oklch */ color: oklch(85.4% 0.086 99.9);
Tailwind
colors: {
  custom: {
    50: '#e8dfb0',
    500: '#dcd18f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd18f;
$custom-light: #e8dfb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd18f",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 143
  },
  "hsl": {
    "h": 51.429,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85433,
    "c": 0.08584,
    "h": 99.9
  },
  "luminance": 0.628
}

Semantic roles & 50–950 ramp

primary
#DCD18F
secondary
#5C68B3
accent
#3CC026
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD18F

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

Preview Lab → · Contrast checker → · Palette generator →

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