#DCBC52#DCBC52

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

Color values

HEX#DCBC52
RGBrgb(220, 188, 82)
HSLhsl(46, 66%, 59%)
HSVhsv(46, 63%, 86%)
CMYKcmyk(0%, 14.5%, 62.7%, 13.7%)
CIE-LABlab(77.16, -0.56, 56.42)
CIE-LCHlch(77.16, 56.42, 90.57°)
OKLaboklab(80.3% -0.0055 0.1292)
OKLCHoklch(80.3% 0.129 92.4)
XYZxyz(49.0237, 51.7939, 15.3960)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBC52 #5272DC
analogous
#DC7752 #DCBC52 #B7DC52
triadic
#DCBC52 #52DCBC #BC52DC
tetradic
#DCBC52 #52DC77 #5272DC #DC52B7
square
#DCBC52 #52DC77 #5272DC #DC52B7
split-complementary
#DCBC52 #52B7DC #7752DC
monochromatic
#957A1E #C8A329 #DCBC52 #E6D085 #F1E3B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCBC52#FFFFFF#000000##000000
##DCBC521.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)
#CFB946
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#EDAEA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dcbc52;
/* rgb */ color: rgb(220, 188, 82);
/* oklch */ color: oklch(80.3% 0.129 92.4);
Tailwind
colors: {
  custom: {
    50: '#eacf87',
    500: '#dcbc52',
    950: '#000000',
  },
}
SCSS
$custom: #dcbc52;
$custom-light: #eacf87;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbc52",
  "rgb": {
    "r": 220,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 46.087,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80297,
    "c": 0.1293,
    "h": 92.4
  },
  "luminance": 0.51791
}

Semantic roles & 50–950 ramp

primary
#DCBC52
secondary
#384F9A
accent
#66E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCBC52

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

Preview Lab → · Contrast checker → · Palette generator →

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