#DCD48B#DCD48B

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

Color values

HEX#DCD48B
RGBrgb(220, 212, 139)
HSLhsl(54, 54%, 70%)
HSVhsv(54, 37%, 86%)
CMYKcmyk(0%, 3.6%, 36.8%, 13.7%)
CIE-LABlab(84.05, -7.85, 37.13)
CIE-LCHlch(84.05, 37.95, 101.94°)
OKLaboklab(85.98% -0.0207 0.0913)
OKLCHoklch(85.98% 0.094 102.8)
XYZxyz(57.7197, 64.1681, 33.7662)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD48B #8B93DC
analogous
#DCAB8B #DCD48B #BBDC8B
triadic
#DCD48B #8BDCD4 #D48BDC
tetradic
#DCD48B #8BDCAB #8B93DC #DC8BBB
square
#DCD48B #8BDCAB #8B93DC #DC8BBB
split-complementary
#DCD48B #8BBBDC #AB8BDC
monochromatic
#B6A937 #CEC35C #DCD48B #EAE5BA #F8F6E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD48B#FFFFFF#000000##000000
##DCD48B1.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)
#E0CF86
Deuteranopia (green-blind)
#E3D48E
Tritanopia (blue-blind)
#E7CBC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd48b;
/* rgb */ color: rgb(220, 212, 139);
/* oklch */ color: oklch(86.0% 0.094 102.8);
Tailwind
colors: {
  custom: {
    50: '#e8e1ad',
    500: '#dcd48b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd48b;
$custom-light: #e8e1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd48b",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 139
  },
  "hsl": {
    "h": 54.074,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.85979,
    "c": 0.09365,
    "h": 102.8
  },
  "luminance": 0.64167
}

Semantic roles & 50–950 ramp

primary
#DCD48B
secondary
#5861B3
accent
#34C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD48B

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

Preview Lab → · Contrast checker → · Palette generator →

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