#DCD299#DCD299

#DCD299 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.075 H 99.4°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#DCD299
RGBrgb(220, 210, 153)
HSLhsl(51, 49%, 73%)
HSVhsv(51, 30%, 86%)
CMYKcmyk(0%, 4.5%, 30.5%, 13.7%)
CIE-LABlab(83.76, -5.15, 29.56)
CIE-LCHlch(83.76, 30.01, 99.89°)
OKLaboklab(85.82% -0.0122 0.074)
OKLCHoklch(85.82% 0.075 99.4)
XYZxyz(58.3121, 63.6101, 39.3370)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD299 #99A3DC
analogous
#DCB099 #DCD299 #C4DC99
triadic
#DCD299 #99DCD2 #D299DC
tetradic
#DCD299 #99DCB0 #99A3DC #DC99C4
square
#DCD299 #99DCB0 #99A3DC #DC99C4
split-complementary
#DCD299 #99C4DC #B099DC
monochromatic
#BBA840 #CCBE6B #DCD299 #ECE6C7 #F7F5E8

Accessibility & contrast

On white

1.53
#DCD299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#DCD299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD299
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD299#FFFFFF#000000##000000
##DCD2991.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE95
Deuteranopia (green-blind)
#E0D39B
Tritanopia (blue-blind)
#E6CAC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd299;
/* rgb */ color: rgb(220, 210, 153);
/* oklch */ color: oklch(85.8% 0.075 99.4);
Tailwind
colors: {
  custom: {
    50: '#e7dfb7',
    500: '#dcd299',
    950: '#000000',
  },
}
SCSS
$custom: #dcd299;
$custom-light: #e7dfb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd299",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 153
  },
  "hsl": {
    "h": 51.045,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.85823,
    "c": 0.07503,
    "h": 99.4
  },
  "luminance": 0.63609
}

Semantic roles & 50–950 ramp

primary
#DCD299
secondary
#6571B4
accent
#3FBC29
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD299

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

Preview Lab → · Contrast checker → · Palette generator →

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