#DCD99A#DCD99A

#DCD99A is a very light, moderate yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.082 H 105.7°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#DCD99A
RGBrgb(220, 217, 154)
HSLhsl(57, 49%, 73%)
HSVhsv(57, 30%, 86%)
CMYKcmyk(0%, 1.4%, 30%, 13.7%)
CIE-LABlab(85.59, -8.60, 31.49)
CIE-LCHlch(85.59, 32.64, 105.27°)
OKLaboklab(87.28% -0.022 0.0786)
OKLCHoklch(87.28% 0.082 105.7)
XYZxyz(60.1611, 67.1755, 40.3625)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD99A #9A9DDC
analogous
#DCB89A #DCD99A #BEDC9A
triadic
#DCD99A #9ADCD9 #D99ADC
tetradic
#DCD99A #9ADCB8 #9A9DDC #DC9ABE
square
#DCD99A #9ADCB8 #9A9DDC #DC9ABE
split-complementary
#DCD99A #9ABEDC #B89ADC
monochromatic
#BBB541 #CCC86D #DCD99A #ECEAC7 #F7F6E8

Accessibility & contrast

On white

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

On black

14.43
#DCD99A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD99A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD99A#FFFFFF#000000##000000
##DCD99A1.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D496
Deuteranopia (green-blind)
#E5D79C
Tritanopia (blue-blind)
#E6D1C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcd99a;
/* rgb */ color: rgb(220, 217, 154);
/* oklch */ color: oklch(87.3% 0.082 105.7);
Tailwind
colors: {
  custom: {
    50: '#e7e4b8',
    500: '#dcd99a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd99a;
$custom-light: #e7e4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd99a",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 154
  },
  "hsl": {
    "h": 57.273,
    "s": 48.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87277,
    "c": 0.08166,
    "h": 105.7
  },
  "luminance": 0.67174
}

Semantic roles & 50–950 ramp

primary
#DCD99A
secondary
#666AB4
accent
#30BC2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD99A

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

Preview Lab → · Contrast checker → · Palette generator →

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