#DCBE42#DCBE42

#DCBE42 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.6% C 0.142 H 95.2°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#DCBE42
RGBrgb(220, 190, 66)
HSLhsl(48, 69%, 56%)
HSVhsv(48, 70%, 86%)
CMYKcmyk(0%, 13.6%, 70%, 13.7%)
CIE-LABlab(77.54, -2.51, 63.57)
CIE-LCHlch(77.54, 63.61, 92.27°)
OKLaboklab(80.56% -0.0129 0.1418)
OKLCHoklch(80.56% 0.142 95.2)
XYZxyz(48.9145, 52.4385, 12.6984)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBE42 #4260DC
analogous
#DC7142 #DCBE42 #ADDC42
triadic
#DCBE42 #42DCBE #BE42DC
tetradic
#DCBE42 #42DC71 #4260DC #DC42AD
square
#DCBE42 #42DC71 #4260DC #DC42AD
split-complementary
#DCBE42 #42ADDC #7142DC
monochromatic
#8A741A #BEA023 #DCBE42 #E6D076 #EFE2A9

Accessibility & contrast

On white

1.83
#DCBE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#DCBE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBE42
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBE42#FFFFFF#000000##000000
##DCBE421.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D9C449
Tritanopia (blue-blind)
#EDAFA5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dcbe42;
/* rgb */ color: rgb(220, 190, 66);
/* oklch */ color: oklch(80.6% 0.142 95.2);
Tailwind
colors: {
  custom: {
    50: '#ebd17d',
    500: '#dcbe42',
    950: '#000000',
  },
}
SCSS
$custom: #dcbe42;
$custom-light: #ebd17d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbe42",
  "rgb": {
    "r": 220,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 48.312,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8056,
    "c": 0.14236,
    "h": 95.2
  },
  "luminance": 0.52436
}

Semantic roles & 50–950 ramp

primary
#DCBE42
secondary
#324590
accent
#5EEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DCBE42

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

Preview Lab → · Contrast checker → · Palette generator →

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