#DCB841#DCB841

#DCB841 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.3% C 0.139 H 91.7°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#DCB841
RGBrgb(220, 184, 65)
HSLhsl(46, 69%, 56%)
HSVhsv(46, 70%, 86%)
CMYKcmyk(0%, 16.4%, 70.5%, 13.7%)
CIE-LABlab(76.00, 0.56, 62.41)
CIE-LCHlch(76.00, 62.41, 89.48°)
OKLaboklab(79.34% -0.0042 0.1391)
OKLCHoklch(79.34% 0.139 91.7)
XYZxyz(47.6124, 49.8811, 12.1202)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB841 #4165DC
analogous
#DC6B41 #DCB841 #B2DC41
triadic
#DCB841 #41DCB8 #B841DC
tetradic
#DCB841 #41DC6B #4165DC #DC41B2
square
#DCB841 #41DC6B #4165DC #DC41B2
split-complementary
#DCB841 #41B2DC #6B41DC
monochromatic
#896F19 #BD9923 #DCB841 #E6CB75 #EFDFA8

Accessibility & contrast

On white

1.91
#DCB841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#DCB841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB841
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB841#FFFFFF#000000##000000
##DCB8411.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB530
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#EEA9A0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dcb841;
/* rgb */ color: rgb(220, 184, 65);
/* oklch */ color: oklch(79.3% 0.139 91.7);
Tailwind
colors: {
  custom: {
    50: '#ebcc7c',
    500: '#dcb841',
    950: '#000000',
  },
}
SCSS
$custom: #dcb841;
$custom-light: #ebcc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb841",
  "rgb": {
    "r": 220,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 46.065,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79337,
    "c": 0.1392,
    "h": 91.7
  },
  "luminance": 0.49878
}

Semantic roles & 50–950 ramp

primary
#DCB841
secondary
#9CABDD
accent
#65EC3C
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DCB841

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

Preview Lab → · Contrast checker → · Palette generator →

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