#DCBC42#DCBC42

#DCBC42 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.2% C 0.141 H 94.1°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#DCBC42
RGBrgb(220, 188, 66)
HSLhsl(48, 69%, 56%)
HSVhsv(48, 70%, 86%)
CMYKcmyk(0%, 14.5%, 70%, 13.7%)
CIE-LABlab(77.03, -1.48, 63.05)
CIE-LCHlch(77.03, 63.06, 91.34°)
OKLaboklab(80.15% -0.01 0.1407)
OKLCHoklch(80.15% 0.141 94.1)
XYZxyz(48.4843, 51.5781, 12.5550)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBC42 #4262DC
analogous
#DC6F42 #DCBC42 #AFDC42
triadic
#DCBC42 #42DCBC #BC42DC
tetradic
#DCBC42 #42DC6F #4262DC #DC42AF
square
#DCBC42 #42DC6F #4262DC #DC42AF
split-complementary
#DCBC42 #42AFDC #6F42DC
monochromatic
#8A731A #BE9E23 #DCBC42 #E6CE76 #EFE1A9

Accessibility & contrast

On white

1.86
#DCBC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#DCBC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBC42
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBC42#FFFFFF#000000##000000
##DCBC421.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB931
Deuteranopia (green-blind)
#D8C249
Tritanopia (blue-blind)
#EDADA3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dcbc42;
/* rgb */ color: rgb(220, 188, 66);
/* oklch */ color: oklch(80.2% 0.141 94.1);
Tailwind
colors: {
  custom: {
    50: '#ebcf7d',
    500: '#dcbc42',
    950: '#000000',
  },
}
SCSS
$custom: #dcbc42;
$custom-light: #ebcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbc42",
  "rgb": {
    "r": 220,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 47.532,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80154,
    "c": 0.14103,
    "h": 94.1
  },
  "luminance": 0.51575
}

Semantic roles & 50–950 ramp

primary
#DCBC42
secondary
#324690
accent
#61EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DCBC42

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

Preview Lab → · Contrast checker → · Palette generator →

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