#DCDB51#DCDB51

#DCDB51 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.7% C 0.157 H 108.9°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#DCDB51
RGBrgb(220, 219, 81)
HSLhsl(60, 67%, 59%)
HSVhsv(60, 63%, 86%)
CMYKcmyk(0%, 0.5%, 63.2%, 13.7%)
CIE-LABlab(85.24, -16.37, 65.51)
CIE-LCHlch(85.24, 67.52, 104.03°)
OKLaboklab(86.71% -0.0507 0.1483)
OKLCHoklch(86.71% 0.157 108.9)
XYZxyz(56.3337, 66.4744, 17.6463)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDB51 #5152DC
analogous
#DC9651 #DCDB51 #98DC51
triadic
#DCDB51 #51DCDB #DB51DC
tetradic
#DCDB51 #51DC96 #5152DC #DC5198
square
#DCDB51 #51DC96 #5152DC #DC5198
split-complementary
#DCDB51 #5198DC #9651DC
monochromatic
#95941E #C8C628 #DCDB51 #E6E684 #F0F0B7

Accessibility & contrast

On white

1.47
#DCDB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#DCDB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDB51
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDB51#FFFFFF#000000##000000
##DCDB511.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23F
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#EBCEBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcdb51;
/* rgb */ color: rgb(220, 219, 81);
/* oklch */ color: oklch(86.7% 0.157 108.9);
Tailwind
colors: {
  custom: {
    50: '#eae588',
    500: '#dcdb51',
    950: '#000000',
  },
}
SCSS
$custom: #dcdb51;
$custom-light: #eae588;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdb51",
  "rgb": {
    "r": 220,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 59.568,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8671,
    "c": 0.15671,
    "h": 108.9
  },
  "luminance": 0.66473
}

Semantic roles & 50–950 ramp

primary
#DCDB51
secondary
#383999
accent
#40E93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDB51

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

Preview Lab → · Contrast checker → · Palette generator →

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