#DCD488#DCD488

#DCD488 is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 85.9% C 0.097 H 103.0°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#DCD488
RGBrgb(220, 212, 136)
HSLhsl(54, 55%, 70%)
HSVhsv(54, 38%, 86%)
CMYKcmyk(0%, 3.6%, 38.2%, 13.7%)
CIE-LABlab(84.01, -8.19, 38.59)
CIE-LCHlch(84.01, 39.45, 101.97°)
OKLaboklab(85.93% -0.0219 0.0946)
OKLCHoklch(85.93% 0.097 103)
XYZxyz(57.5035, 64.0816, 32.6276)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD488 #8890DC
analogous
#DCAA88 #DCD488 #BADC88
triadic
#DCD488 #88DCD4 #D488DC
tetradic
#DCD488 #88DCAA #8890DC #DC88BA
square
#DCD488 #88DCAA #8890DC #DC88BA
split-complementary
#DCD488 #88BADC #AA88DC
monochromatic
#B5A835 #CEC359 #DCD488 #EAE5B7 #F8F6E7

Accessibility & contrast

On white

1.52
#DCD488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#DCD488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD488
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD488#FFFFFF#000000##000000
##DCD4881.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CF82
Deuteranopia (green-blind)
#E4D48B
Tritanopia (blue-blind)
#E8CAC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd488;
/* rgb */ color: rgb(220, 212, 136);
/* oklch */ color: oklch(85.9% 0.097 103.0);
Tailwind
colors: {
  custom: {
    50: '#e8e1ab',
    500: '#dcd488',
    950: '#000000',
  },
}
SCSS
$custom: #dcd488;
$custom-light: #e8e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd488",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 136
  },
  "hsl": {
    "h": 54.286,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85929,
    "c": 0.09707,
    "h": 103
  },
  "luminance": 0.6408
}

Semantic roles & 50–950 ramp

primary
#DCD488
secondary
#555EB3
accent
#33C223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD488

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

Preview Lab → · Contrast checker → · Palette generator →

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