#DCD48C#DCD48C

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

Color values

HEX#DCD48C
RGBrgb(220, 212, 140)
HSLhsl(54, 53%, 71%)
HSVhsv(54, 36%, 86%)
CMYKcmyk(0%, 3.6%, 36.4%, 13.7%)
CIE-LABlab(84.07, -7.74, 36.64)
CIE-LCHlch(84.07, 37.45, 101.92°)
OKLaboklab(86% -0.0203 0.0902)
OKLCHoklch(86% 0.093 102.7)
XYZxyz(57.7931, 64.1975, 34.1528)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD48C #8C94DC
analogous
#DCAC8C #DCD48C #BCDC8C
triadic
#DCD48C #8CDCD4 #D48CDC
tetradic
#DCD48C #8CDCAC #8C94DC #DC8CBC
square
#DCD48C #8CDCAC #8C94DC #DC8CBC
split-complementary
#DCD48C #8CBCDC #AC8CDC
monochromatic
#B6A937 #CEC25D #DCD48C #EAE6BB #F8F6E8

Accessibility & contrast

On white

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

On black

13.84
#DCD48C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD48C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD48C#FFFFFF#000000##000000
##DCD48C1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd48c;
/* rgb */ color: rgb(220, 212, 140);
/* oklch */ color: oklch(86.0% 0.092 102.7);
Tailwind
colors: {
  custom: {
    50: '#e8e1ae',
    500: '#dcd48c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd48c;
$custom-light: #e8e1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd48c",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 140
  },
  "hsl": {
    "h": 54,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.85996,
    "c": 0.0925,
    "h": 102.7
  },
  "luminance": 0.64196
}

Semantic roles & 50–950 ramp

primary
#DCD48C
secondary
#5962B3
accent
#34C125
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD48C

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

Preview Lab → · Contrast checker → · Palette generator →

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