#DCD99C#DCD99C

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

Color values

HEX#DCD99C
RGBrgb(220, 217, 156)
HSLhsl(57, 48%, 74%)
HSVhsv(57, 29%, 86%)
CMYKcmyk(0%, 1.4%, 29.1%, 13.7%)
CIE-LABlab(85.63, -8.34, 30.50)
CIE-LCHlch(85.63, 31.63, 105.30°)
OKLaboklab(87.32% -0.0213 0.0763)
OKLCHoklch(87.32% 0.079 105.6)
XYZxyz(60.3291, 67.2427, 41.2471)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD99C #9C9FDC
analogous
#DCB99C #DCD99C #BFDC9C
triadic
#DCD99C #9CDCD9 #D99CDC
tetradic
#DCD99C #9CDCB9 #9C9FDC #DC9CBF
square
#DCD99C #9CDCB9 #9C9FDC #DC9CBF
split-complementary
#DCD99C #9CBFDC #B99CDC
monochromatic
#BBB642 #CCC86F #DCD99C #ECEAC9 #F7F6E8

Accessibility & contrast

On white

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

On black

14.45
#DCD99C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD99C
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD99C#FFFFFF#000000##000000
##DCD99C1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd99c;
/* rgb */ color: rgb(220, 217, 156);
/* oklch */ color: oklch(87.3% 0.079 105.6);
Tailwind
colors: {
  custom: {
    50: '#e7e4b9',
    500: '#dcd99c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd99c;
$custom-light: #e7e4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd99c",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 156
  },
  "hsl": {
    "h": 57.187,
    "s": 47.761,
    "l": 73.725
  },
  "oklch": {
    "l": 0.87315,
    "c": 0.07924,
    "h": 105.6
  },
  "luminance": 0.67242
}

Semantic roles & 50–950 ramp

primary
#DCD99C
secondary
#686CB4
accent
#31BB2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD99C

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

Preview Lab → · Contrast checker → · Palette generator →

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