#DCBC51#DCBC51

#DCBC51 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.3% C 0.130 H 92.5°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#DCBC51
RGBrgb(220, 188, 81)
HSLhsl(46, 67%, 59%)
HSVhsv(46, 63%, 86%)
CMYKcmyk(0%, 14.5%, 63.2%, 13.7%)
CIE-LABlab(77.15, -0.62, 56.86)
CIE-LCHlch(77.15, 56.86, 90.63°)
OKLaboklab(80.29% -0.0058 0.13)
OKLCHoklch(80.29% 0.13 92.5)
XYZxyz(48.9859, 51.7788, 15.1971)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBC51 #5171DC
analogous
#DC7751 #DCBC51 #B7DC51
triadic
#DCBC51 #51DCBC #BC51DC
tetradic
#DCBC51 #51DC77 #5171DC #DC51B7
square
#DCBC51 #51DC77 #5171DC #DC51B7
split-complementary
#DCBC51 #51B7DC #7751DC
monochromatic
#95791E #C8A328 #DCBC51 #E6D084 #F0E3B7

Accessibility & contrast

On white

1.85
#DCBC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#DCBC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBC51
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBC51#FFFFFF#000000##000000
##DCBC511.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB945
Deuteranopia (green-blind)
#D7C256
Tritanopia (blue-blind)
#EDAEA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dcbc51;
/* rgb */ color: rgb(220, 188, 81);
/* oklch */ color: oklch(80.3% 0.130 92.5);
Tailwind
colors: {
  custom: {
    50: '#eacf86',
    500: '#dcbc51',
    950: '#000000',
  },
}
SCSS
$custom: #dcbc51;
$custom-light: #eacf86;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbc51",
  "rgb": {
    "r": 220,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 46.187,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80287,
    "c": 0.13009,
    "h": 92.5
  },
  "luminance": 0.51776
}

Semantic roles & 50–950 ramp

primary
#DCBC51
secondary
#384E99
accent
#66E93E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCBC51

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

Preview Lab → · Contrast checker → · Palette generator →

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