#DCBD42#DCBD42

#DCBD42 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.4% C 0.142 H 94.6°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#DCBD42
RGBrgb(220, 189, 66)
HSLhsl(48, 69%, 56%)
HSVhsv(48, 70%, 86%)
CMYKcmyk(0%, 14.1%, 70%, 13.7%)
CIE-LABlab(77.28, -2.00, 63.31)
CIE-LCHlch(77.28, 63.34, 91.81°)
OKLaboklab(80.36% -0.0115 0.1412)
OKLCHoklch(80.36% 0.142 94.6)
XYZxyz(48.6986, 52.0068, 12.6265)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBD42 #4261DC
analogous
#DC7042 #DCBD42 #AEDC42
triadic
#DCBD42 #42DCBD #BD42DC
tetradic
#DCBD42 #42DC70 #4261DC #DC42AE
square
#DCBD42 #42DC70 #4261DC #DC42AE
split-complementary
#DCBD42 #42AEDC #7042DC
monochromatic
#8A731A #BE9F23 #DCBD42 #E6CF76 #EFE1A9

Accessibility & contrast

On white

1.84
#DCBD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#DCBD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBD42
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBD42#FFFFFF#000000##000000
##DCBD421.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#EDAEA4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dcbd42;
/* rgb */ color: rgb(220, 189, 66);
/* oklch */ color: oklch(80.4% 0.142 94.6);
Tailwind
colors: {
  custom: {
    50: '#ebd07d',
    500: '#dcbd42',
    950: '#000000',
  },
}
SCSS
$custom: #dcbd42;
$custom-light: #ebd07d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbd42",
  "rgb": {
    "r": 220,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 47.922,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80357,
    "c": 0.14169,
    "h": 94.6
  },
  "luminance": 0.52004
}

Semantic roles & 50–950 ramp

primary
#DCBD42
secondary
#324590
accent
#60EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DCBD42

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

Preview Lab → · Contrast checker → · Palette generator →

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