#DCD939#DCD939

#DCD939 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.1% C 0.170 H 108.4°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#DCD939
RGBrgb(220, 217, 57)
HSLhsl(59, 70%, 54%)
HSVhsv(59, 74%, 86%)
CMYKcmyk(0%, 1.4%, 74.1%, 13.7%)
CIE-LABlab(84.56, -16.60, 73.54)
CIE-LCHlch(84.56, 75.39, 102.72°)
OKLaboklab(86.12% -0.0536 0.1613)
OKLCHoklch(86.12% 0.17 108.4)
XYZxyz(55.0687, 65.1386, 13.5423)
Luminance0.6514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD939 #393CDC
analogous
#DC8839 #DCD939 #8DDC39
triadic
#DCD939 #39DCD9 #D939DC
tetradic
#DCD939 #39DC88 #393CDC #DC398D
square
#DCD939 #39DC88 #393CDC #DC398D
split-complementary
#DCD939 #398DDC #8839DC
monochromatic
#838117 #B7B520 #DCD939 #E5E36D #EEEDA1

Accessibility & contrast

On white

1.50
#DCD939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#DCD939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD939
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD939#FFFFFF#000000##000000
##DCD9391.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD014
Deuteranopia (green-blind)
#EDD646
Tritanopia (blue-blind)
#ECCBBB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd939;
/* rgb */ color: rgb(220, 217, 57);
/* oklch */ color: oklch(86.1% 0.170 108.4);
Tailwind
colors: {
  custom: {
    50: '#ebe47b',
    500: '#dcd939',
    950: '#000000',
  },
}
SCSS
$custom: #dcd939;
$custom-light: #ebe47b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd939",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 57
  },
  "hsl": {
    "h": 58.896,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.86116,
    "c": 0.16997,
    "h": 108.4
  },
  "luminance": 0.65137
}

Semantic roles & 50–950 ramp

primary
#DCD939
secondary
#2F318A
accent
#3EED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DCD939

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

Preview Lab → · Contrast checker → · Palette generator →

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