#DCD39D#DCD39D

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

Color values

HEX#DCD39D
RGBrgb(220, 211, 157)
HSLhsl(51, 47%, 74%)
HSVhsv(51, 29%, 86%)
CMYKcmyk(0%, 4.1%, 28.6%, 13.7%)
CIE-LABlab(84.09, -5.15, 27.93)
CIE-LCHlch(84.09, 28.40, 100.46°)
OKLaboklab(86.11% -0.0121 0.0702)
OKLCHoklch(86.11% 0.071 99.7)
XYZxyz(58.8956, 64.2398, 41.1887)
Luminance0.6424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD39D #9DA6DC
analogous
#DCB49D #DCD39D #C6DC9D
triadic
#DCD39D #9DDCD3 #D39DDC
tetradic
#DCD39D #9DDCB4 #9DA6DC #DC9DC6
square
#DCD39D #9DDCB4 #9DA6DC #DC9DC6
split-complementary
#DCD39D #9DC6DC #B49DDC
monochromatic
#BCAA43 #CCBF70 #DCD39D #ECE7CA #F7F5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD39D#FFFFFF#000000##000000
##DCD39D1.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)
#DDD099
Deuteranopia (green-blind)
#E0D39F
Tritanopia (blue-blind)
#E6CBC5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd39d;
/* rgb */ color: rgb(220, 211, 157);
/* oklch */ color: oklch(86.1% 0.071 99.7);
Tailwind
colors: {
  custom: {
    50: '#e7e0ba',
    500: '#dcd39d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd39d;
$custom-light: #e7e0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd39d",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 157
  },
  "hsl": {
    "h": 51.429,
    "s": 47.368,
    "l": 73.922
  },
  "oklch": {
    "l": 0.86105,
    "c": 0.07125,
    "h": 99.7
  },
  "luminance": 0.64238
}

Semantic roles & 50–950 ramp

primary
#DCD39D
secondary
#6974B4
accent
#3FBB2B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD39D

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

Preview Lab → · Contrast checker → · Palette generator →

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