#DCD48E#DCD48E

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

Color values

HEX#DCD48E
RGBrgb(220, 212, 142)
HSLhsl(54, 53%, 71%)
HSVhsv(54, 35%, 86%)
CMYKcmyk(0%, 3.6%, 35.5%, 13.7%)
CIE-LABlab(84.10, -7.51, 35.66)
CIE-LCHlch(84.10, 36.45, 101.89°)
OKLaboklab(86.03% -0.0195 0.0881)
OKLCHoklch(86.03% 0.09 102.5)
XYZxyz(57.9419, 64.2570, 34.9365)
Luminance0.6426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD48E #8E96DC
analogous
#DCAD8E #DCD48E #BDDC8E
triadic
#DCD48E #8EDCD4 #D48EDC
tetradic
#DCD48E #8EDCAD #8E96DC #DC8EBD
square
#DCD48E #8EDCAD #8E96DC #DC8EBD
split-complementary
#DCD48E #8EBDDC #AD8EDC
monochromatic
#B7AA39 #CEC25F #DCD48E #EAE6BD #F8F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD48E#FFFFFF#000000##000000
##DCD48E1.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)
#E0CF89
Deuteranopia (green-blind)
#E3D491
Tritanopia (blue-blind)
#E7CBC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd48e;
/* rgb */ color: rgb(220, 212, 142);
/* oklch */ color: oklch(86.0% 0.090 102.5);
Tailwind
colors: {
  custom: {
    50: '#e8e1b0',
    500: '#dcd48e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd48e;
$custom-light: #e8e1b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd48e",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 142
  },
  "hsl": {
    "h": 53.846,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86031,
    "c": 0.09019,
    "h": 102.5
  },
  "luminance": 0.64256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD48E

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

Preview Lab → · Contrast checker → · Palette generator →

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