#DCD99F#DCD99F

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

Color values

HEX#DCD99F
RGBrgb(220, 217, 159)
HSLhsl(57, 47%, 74%)
HSVhsv(57, 28%, 86%)
CMYKcmyk(0%, 1.4%, 27.7%, 13.7%)
CIE-LABlab(85.68, -7.96, 29.03)
CIE-LCHlch(85.68, 30.10, 105.33°)
OKLaboklab(87.37% -0.02 0.0729)
OKLCHoklch(87.37% 0.076 105.4)
XYZxyz(60.5863, 67.3456, 42.6015)
Luminance0.6734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD99F #9FA2DC
analogous
#DCBB9F #DCD99F #C1DC9F
triadic
#DCD99F #9FDCD9 #D99FDC
tetradic
#DCD99F #9FDCBB #9FA2DC #DC9FC1
square
#DCD99F #9FDCBB #9FA2DC #DC9FC1
split-complementary
#DCD99F #9FC1DC #BB9FDC
monochromatic
#BBB545 #CCC772 #DCD99F #ECEBCC #F7F6E9

Accessibility & contrast

On white

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

On black

14.47
#DCD99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD99F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD99F#FFFFFF#000000##000000
##DCD99F1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D59B
Deuteranopia (green-blind)
#E5D8A1
Tritanopia (blue-blind)
#E5D1CA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcd99f;
/* rgb */ color: rgb(220, 217, 159);
/* oklch */ color: oklch(87.4% 0.076 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7e4bb',
    500: '#dcd99f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd99f;
$custom-light: #e7e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd99f",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 159
  },
  "hsl": {
    "h": 57.049,
    "s": 46.565,
    "l": 74.314
  },
  "oklch": {
    "l": 0.87373,
    "c": 0.07559,
    "h": 105.4
  },
  "luminance": 0.67345
}

Semantic roles & 50–950 ramp

primary
#DCD99F
secondary
#6B6FB4
accent
#33BA2C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DCD99F

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

Preview Lab → · Contrast checker → · Palette generator →

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