#DCD48D#DCD48D

#DCD48D is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.0% C 0.091 H 102.6°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#DCD48D
RGBrgb(220, 212, 141)
HSLhsl(54, 53%, 71%)
HSVhsv(54, 36%, 86%)
CMYKcmyk(0%, 3.6%, 35.9%, 13.7%)
CIE-LABlab(84.08, -7.62, 36.15)
CIE-LCHlch(84.08, 36.95, 101.90°)
OKLaboklab(86.01% -0.0199 0.0891)
OKLCHoklch(86.01% 0.091 102.6)
XYZxyz(57.8672, 64.2271, 34.5429)
Luminance0.6423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD48D #8D95DC
analogous
#DCAC8D #DCD48D #BCDC8D
triadic
#DCD48D #8DDCD4 #D48DDC
tetradic
#DCD48D #8DDCAC #8D95DC #DC8DBC
square
#DCD48D #8DDCAC #8D95DC #DC8DBC
split-complementary
#DCD48D #8DBCDC #AC8DDC
monochromatic
#B7AA38 #CEC25E #DCD48D #EAE6BC #F8F6E8

Accessibility & contrast

On white

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

On black

13.85
#DCD48D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD48D
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD48D#FFFFFF#000000##000000
##DCD48D1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF88
Deuteranopia (green-blind)
#E3D490
Tritanopia (blue-blind)
#E7CBC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd48d;
/* rgb */ color: rgb(220, 212, 141);
/* oklch */ color: oklch(86.0% 0.091 102.6);
Tailwind
colors: {
  custom: {
    50: '#e8e1af',
    500: '#dcd48d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd48d;
$custom-light: #e8e1af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd48d",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 141
  },
  "hsl": {
    "h": 53.924,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86013,
    "c": 0.09135,
    "h": 102.6
  },
  "luminance": 0.64226
}

Semantic roles & 50–950 ramp

primary
#DCD48D
secondary
#5A63B3
accent
#35C025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD48D

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

Preview Lab → · Contrast checker → · Palette generator →

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