#DCD18E#DCD18E

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

Color values

HEX#DCD18E
RGBrgb(220, 209, 142)
HSLhsl(52, 53%, 71%)
HSVhsv(52, 35%, 86%)
CMYKcmyk(0%, 5%, 35.5%, 13.7%)
CIE-LABlab(83.32, -5.97, 34.65)
CIE-LCHlch(83.32, 35.16, 99.78°)
OKLaboklab(85.42% -0.0151 0.0857)
OKLCHoklch(85.42% 0.087 100)
XYZxyz(57.1990, 62.7711, 34.6889)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD18E #8E99DC
analogous
#DCAA8E #DCD18E #C0DC8E
triadic
#DCD18E #8EDCD1 #D18EDC
tetradic
#DCD18E #8EDCAA #8E99DC #DC8EC0
square
#DCD18E #8EDCAA #8E99DC #DC8EC0
split-complementary
#DCD18E #8EC0DC #AA8EDC
monochromatic
#B7A539 #CEBE5F #DCD18E #EAE4BD #F8F5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD18E#FFFFFF#000000##000000
##DCD18E1.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)
#DDCD89
Deuteranopia (green-blind)
#E1D290
Tritanopia (blue-blind)
#E7C8C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd18e;
/* rgb */ color: rgb(220, 209, 142);
/* oklch */ color: oklch(85.4% 0.087 100.0);
Tailwind
colors: {
  custom: {
    50: '#e8dfaf',
    500: '#dcd18e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd18e;
$custom-light: #e8dfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd18e",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 142
  },
  "hsl": {
    "h": 51.538,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85415,
    "c": 0.08702,
    "h": 100
  },
  "luminance": 0.6277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD18E

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

Preview Lab → · Contrast checker → · Palette generator →

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