#DCB84C#DCB84C

#DCB84C is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.4% C 0.131 H 90.5°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#DCB84C
RGBrgb(220, 184, 76)
HSLhsl(45, 67%, 58%)
HSVhsv(45, 65%, 86%)
CMYKcmyk(0%, 16.4%, 65.5%, 13.7%)
CIE-LABlab(76.08, 1.16, 57.90)
CIE-LCHlch(76.08, 57.91, 88.85°)
OKLaboklab(79.43% -0.0012 0.1314)
OKLCHoklch(79.43% 0.131 90.5)
XYZxyz(47.9626, 50.0212, 13.9649)
Luminance0.5002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB84C #4C70DC
analogous
#DC704C #DCB84C #B8DC4C
triadic
#DCB84C #4CDCB8 #B84CDC
tetradic
#DCB84C #4CDC70 #4C70DC #DC4CB8
square
#DCB84C #4CDC70 #4C70DC #DC4CB8
split-complementary
#DCB84C #4CB8DC #704CDC
monochromatic
#91741C #C49D26 #DCB84C #E6CC7F #F0E1B2

Accessibility & contrast

On white

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

On black

11.00
#DCB84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB84C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB84C#FFFFFF#000000##000000
##DCB84C1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB63F
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#EDAAA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dcb84c;
/* rgb */ color: rgb(220, 184, 76);
/* oklch */ color: oklch(79.4% 0.131 90.5);
Tailwind
colors: {
  custom: {
    50: '#eacd83',
    500: '#dcb84c',
    950: '#000000',
  },
}
SCSS
$custom: #dcb84c;
$custom-light: #eacd83;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb84c",
  "rgb": {
    "r": 220,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 45,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79432,
    "c": 0.13145,
    "h": 90.5
  },
  "luminance": 0.50018
}

Semantic roles & 50–950 ramp

primary
#DCB84C
secondary
#364E96
accent
#69EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCB84C

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

Preview Lab → · Contrast checker → · Palette generator →

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