#DCD39F#DCD39F

#DCD39F is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.1% C 0.069 H 99.4°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#DCD39F
RGBrgb(220, 211, 159)
HSLhsl(51, 47%, 74%)
HSVhsv(51, 28%, 86%)
CMYKcmyk(0%, 4.1%, 27.7%, 13.7%)
CIE-LABlab(84.13, -4.89, 26.93)
CIE-LCHlch(84.13, 27.37, 100.30°)
OKLaboklab(86.15% -0.0112 0.0679)
OKLCHoklch(86.15% 0.069 99.4)
XYZxyz(59.0678, 64.3086, 42.0954)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD39F #9FA8DC
analogous
#DCB59F #DCD39F #C7DC9F
triadic
#DCD39F #9FDCD3 #D39FDC
tetradic
#DCD39F #9FDCB5 #9FA8DC #DC9FC7
square
#DCD39F #9FDCB5 #9FA8DC #DC9FC7
split-complementary
#DCD39F #9FC7DC #B59FDC
monochromatic
#BBAA45 #CCBE72 #DCD39F #ECE8CC #F7F5E9

Accessibility & contrast

On white

1.51
#DCD39F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#DCD39F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD39F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD39F#FFFFFF#000000##000000
##DCD39F1.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDD09C
Deuteranopia (green-blind)
#E0D4A1
Tritanopia (blue-blind)
#E5CCC5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd39f;
/* rgb */ color: rgb(220, 211, 159);
/* oklch */ color: oklch(86.1% 0.069 99.4);
Tailwind
colors: {
  custom: {
    50: '#e7e0bb',
    500: '#dcd39f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd39f;
$custom-light: #e7e0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd39f",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 159
  },
  "hsl": {
    "h": 51.148,
    "s": 46.565,
    "l": 74.314
  },
  "oklch": {
    "l": 0.86145,
    "c": 0.0688,
    "h": 99.4
  },
  "luminance": 0.64307
}

Semantic roles & 50–950 ramp

primary
#DCD39F
secondary
#6B76B4
accent
#41BA2C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DCD39F

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

Preview Lab → · Contrast checker → · Palette generator →

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