#DCD39B#DCD39B

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

Color values

HEX#DCD39B
RGBrgb(220, 211, 155)
HSLhsl(52, 48%, 74%)
HSVhsv(52, 30%, 86%)
CMYKcmyk(0%, 4.1%, 29.5%, 13.7%)
CIE-LABlab(84.06, -5.41, 28.92)
CIE-LCHlch(84.06, 29.42, 100.60°)
OKLaboklab(86.07% -0.0129 0.0725)
OKLCHoklch(86.07% 0.074 100.1)
XYZxyz(58.7263, 64.1720, 40.2968)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD39B #9BA4DC
analogous
#DCB29B #DCD39B #C4DC9B
triadic
#DCD39B #9BDCD3 #D39BDC
tetradic
#DCD39B #9BDCB2 #9BA4DC #DC9BC4
square
#DCD39B #9BDCB2 #9BA4DC #DC9BC4
split-complementary
#DCD39B #9BC4DC #B29BDC
monochromatic
#BBAA41 #CCBF6E #DCD39B #ECE7C8 #F7F5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD39B#FFFFFF#000000##000000
##DCD39B1.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)
#DECF97
Deuteranopia (green-blind)
#E0D39D
Tritanopia (blue-blind)
#E6CBC4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd39b;
/* rgb */ color: rgb(220, 211, 155);
/* oklch */ color: oklch(86.1% 0.074 100.1);
Tailwind
colors: {
  custom: {
    50: '#e7e0b9',
    500: '#dcd39b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd39b;
$custom-light: #e7e0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd39b",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 155
  },
  "hsl": {
    "h": 51.692,
    "s": 48.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.86066,
    "c": 0.07367,
    "h": 100.1
  },
  "luminance": 0.64171
}

Semantic roles & 50–950 ramp

primary
#DCD39B
secondary
#6772B4
accent
#3EBB2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD39B

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

Preview Lab → · Contrast checker → · Palette generator →

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