#DCB949#DCB949

#DCB949 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.6% C 0.134 H 91.5°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#DCB949
RGBrgb(220, 185, 73)
HSLhsl(46, 68%, 57%)
HSVhsv(46, 67%, 86%)
CMYKcmyk(0%, 15.9%, 66.8%, 13.7%)
CIE-LABlab(76.31, 0.46, 59.44)
CIE-LCHlch(76.31, 59.44, 89.55°)
OKLaboklab(79.61% -0.0036 0.1342)
OKLCHoklch(79.61% 0.134 91.5)
XYZxyz(48.0692, 50.3973, 13.4978)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB949 #496CDC
analogous
#DC6F49 #DCB949 #B6DC49
triadic
#DCB949 #49DCB9 #B949DC
tetradic
#DCB949 #49DC6F #496CDC #DC49B6
square
#DCB949 #49DC6F #496CDC #DC49B6
split-complementary
#DCB949 #49B6DC #6F49DC
monochromatic
#8F741C #C29D25 #DCB949 #E6CD7C #F0E0B0

Accessibility & contrast

On white

1.90
#DCB949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#DCB949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB949
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB949#FFFFFF#000000##000000
##DCB9491.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63B
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#EDABA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dcb949;
/* rgb */ color: rgb(220, 185, 73);
/* oklch */ color: oklch(79.6% 0.134 91.5);
Tailwind
colors: {
  custom: {
    50: '#ebcd81',
    500: '#dcb949',
    950: '#000000',
  },
}
SCSS
$custom: #dcb949;
$custom-light: #ebcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb949",
  "rgb": {
    "r": 220,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 45.714,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79606,
    "c": 0.13427,
    "h": 91.5
  },
  "luminance": 0.50395
}

Semantic roles & 50–950 ramp

primary
#DCB949
secondary
#354C94
accent
#66EB3D
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCB949

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

Preview Lab → · Contrast checker → · Palette generator →

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