#DCBA42#DCBA42

#DCBA42 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.7% C 0.140 H 92.9°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#DCBA42
RGBrgb(220, 186, 66)
HSLhsl(47, 69%, 56%)
HSVhsv(47, 70%, 86%)
CMYKcmyk(0%, 15.5%, 70%, 13.7%)
CIE-LABlab(76.51, -0.43, 62.53)
CIE-LCHlch(76.51, 62.53, 90.40°)
OKLaboklab(79.75% -0.007 0.1396)
OKLCHoklch(79.75% 0.14 92.9)
XYZxyz(48.0600, 50.7295, 12.4136)
Luminance0.5073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBA42 #4264DC
analogous
#DC6D42 #DCBA42 #B1DC42
triadic
#DCBA42 #42DCBA #BA42DC
tetradic
#DCBA42 #42DC6D #4264DC #DC42B1
square
#DCBA42 #42DC6D #4264DC #DC42B1
split-complementary
#DCBA42 #42B1DC #6D42DC
monochromatic
#8A711A #BE9C23 #DCBA42 #E6CD76 #EFE0A9

Accessibility & contrast

On white

1.88
#DCBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#DCBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBA42
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBA42#FFFFFF#000000##000000
##DCBA421.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#D6C148
Tritanopia (blue-blind)
#EEABA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dcba42;
/* rgb */ color: rgb(220, 186, 66);
/* oklch */ color: oklch(79.7% 0.140 92.9);
Tailwind
colors: {
  custom: {
    50: '#ebce7d',
    500: '#dcba42',
    950: '#000000',
  },
}
SCSS
$custom: #dcba42;
$custom-light: #ebce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcba42",
  "rgb": {
    "r": 220,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 46.753,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79748,
    "c": 0.13975,
    "h": 92.9
  },
  "luminance": 0.50727
}

Semantic roles & 50–950 ramp

primary
#DCBA42
secondary
#324790
accent
#63EC3C
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DCBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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