#DCBB42#DCBB42

#DCBB42 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 80.0% C 0.140 H 93.5°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#DCBB42
RGBrgb(220, 187, 66)
HSLhsl(47, 69%, 56%)
HSVhsv(47, 70%, 86%)
CMYKcmyk(0%, 15%, 70%, 13.7%)
CIE-LABlab(76.77, -0.95, 62.79)
CIE-LCHlch(76.77, 62.80, 90.87°)
OKLaboklab(79.95% -0.0085 0.1401)
OKLCHoklch(79.95% 0.14 93.5)
XYZxyz(48.2714, 51.1523, 12.4840)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBB42 #4263DC
analogous
#DC6E42 #DCBB42 #B0DC42
triadic
#DCBB42 #42DCBB #BB42DC
tetradic
#DCBB42 #42DC6E #4263DC #DC42B0
square
#DCBB42 #42DC6E #4263DC #DC42B0
split-complementary
#DCBB42 #42B0DC #6E42DC
monochromatic
#8A721A #BE9D23 #DCBB42 #E6CE76 #EFE0A9

Accessibility & contrast

On white

1.87
#DCBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#DCBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBB42
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBB42#FFFFFF#000000##000000
##DCBB421.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB831
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#EDACA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dcbb42;
/* rgb */ color: rgb(220, 187, 66);
/* oklch */ color: oklch(80.0% 0.140 93.5);
Tailwind
colors: {
  custom: {
    50: '#ebcf7d',
    500: '#dcbb42',
    950: '#000000',
  },
}
SCSS
$custom: #dcbb42;
$custom-light: #ebcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbb42",
  "rgb": {
    "r": 220,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 47.143,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79951,
    "c": 0.14039,
    "h": 93.5
  },
  "luminance": 0.5115
}

Semantic roles & 50–950 ramp

primary
#DCBB42
secondary
#324690
accent
#62EC3C
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DCBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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