#DCD99E#DCD99E

#DCD99E is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.4% C 0.077 H 105.4°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#DCD99E
RGBrgb(220, 217, 158)
HSLhsl(57, 47%, 74%)
HSVhsv(57, 28%, 86%)
CMYKcmyk(0%, 1.4%, 28.2%, 13.7%)
CIE-LABlab(85.66, -8.09, 29.52)
CIE-LCHlch(85.66, 30.61, 105.32°)
OKLaboklab(87.35% -0.0204 0.074)
OKLCHoklch(87.35% 0.077 105.4)
XYZxyz(60.4999, 67.3110, 42.1464)
Luminance0.6731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD99E #9EA1DC
analogous
#DCBA9E #DCD99E #C0DC9E
triadic
#DCD99E #9EDCD9 #D99EDC
tetradic
#DCD99E #9EDCBA #9EA1DC #DC9EC0
square
#DCD99E #9EDCBA #9EA1DC #DC9EC0
split-complementary
#DCD99E #9EC0DC #BA9EDC
monochromatic
#BCB644 #CCC771 #DCD99E #ECEBCB #F7F6E9

Accessibility & contrast

On white

1.45
#DCD99E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#DCD99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD99E
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD99E#FFFFFF#000000##000000
##DCD99E1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D49A
Deuteranopia (green-blind)
#E5D8A0
Tritanopia (blue-blind)
#E5D1C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcd99e;
/* rgb */ color: rgb(220, 217, 158);
/* oklch */ color: oklch(87.4% 0.077 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7e4bb',
    500: '#dcd99e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd99e;
$custom-light: #e7e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd99e",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 158
  },
  "hsl": {
    "h": 57.097,
    "s": 46.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87354,
    "c": 0.07681,
    "h": 105.4
  },
  "luminance": 0.6731
}

Semantic roles & 50–950 ramp

primary
#DCD99E
secondary
#6A6EB4
accent
#32BA2B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DCD99E

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

Preview Lab → · Contrast checker → · Palette generator →

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