#DCD48A#DCD48A

#DCD48A is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 86.0% C 0.095 H 102.9°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#DCD48A
RGBrgb(220, 212, 138)
HSLhsl(54, 54%, 70%)
HSVhsv(54, 37%, 86%)
CMYKcmyk(0%, 3.6%, 37.3%, 13.7%)
CIE-LABlab(84.04, -7.96, 37.62)
CIE-LCHlch(84.04, 38.45, 101.95°)
OKLaboklab(85.96% -0.0211 0.0924)
OKLCHoklch(85.96% 0.095 102.9)
XYZxyz(57.6470, 64.1390, 33.3832)
Luminance0.6414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD48A #8A92DC
analogous
#DCAB8A #DCD48A #BBDC8A
triadic
#DCD48A #8ADCD4 #D48ADC
tetradic
#DCD48A #8ADCAB #8A92DC #DC8ABB
square
#DCD48A #8ADCAB #8A92DC #DC8ABB
split-complementary
#DCD48A #8ABBDC #AB8ADC
monochromatic
#B5A936 #CEC35B #DCD48A #EAE5B9 #F8F6E7

Accessibility & contrast

On white

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

On black

13.83
#DCD48A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD48A
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD48A#FFFFFF#000000##000000
##DCD48A1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CF85
Deuteranopia (green-blind)
#E3D48D
Tritanopia (blue-blind)
#E7CBC1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd48a;
/* rgb */ color: rgb(220, 212, 138);
/* oklch */ color: oklch(86.0% 0.095 102.9);
Tailwind
colors: {
  custom: {
    50: '#e8e1ad',
    500: '#dcd48a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd48a;
$custom-light: #e8e1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd48a",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 138
  },
  "hsl": {
    "h": 54.146,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85962,
    "c": 0.09479,
    "h": 102.9
  },
  "luminance": 0.64138
}

Semantic roles & 50–950 ramp

primary
#DCD48A
secondary
#5760B3
accent
#33C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD48A

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

Preview Lab → · Contrast checker → · Palette generator →

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