#DCBA51#DCBA51

#DCBA51 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.9% C 0.129 H 91.2°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#DCBA51
RGBrgb(220, 186, 81)
HSLhsl(45, 67%, 59%)
HSVhsv(45, 63%, 86%)
CMYKcmyk(0%, 15.5%, 63.2%, 13.7%)
CIE-LABlab(76.64, 0.42, 56.30)
CIE-LCHlch(76.64, 56.30, 89.57°)
OKLaboklab(79.88% -0.0027 0.1288)
OKLCHoklch(79.88% 0.129 91.2)
XYZxyz(48.5617, 50.9302, 15.0556)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBA51 #5173DC
analogous
#DC7551 #DCBA51 #B8DC51
triadic
#DCBA51 #51DCBA #BA51DC
tetradic
#DCBA51 #51DC75 #5173DC #DC51B8
square
#DCBA51 #51DC75 #5173DC #DC51B8
split-complementary
#DCBA51 #51B8DC #7551DC
monochromatic
#95781E #C8A128 #DCBA51 #E6CE84 #F0E2B7

Accessibility & contrast

On white

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

On black

11.19
#DCBA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBA51
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBA51#FFFFFF#000000##000000
##DCBA511.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB745
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#EDACA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dcba51;
/* rgb */ color: rgb(220, 186, 81);
/* oklch */ color: oklch(79.9% 0.129 91.2);
Tailwind
colors: {
  custom: {
    50: '#eace86',
    500: '#dcba51',
    950: '#000000',
  },
}
SCSS
$custom: #dcba51;
$custom-light: #eace86;
$custom-dark: #000000;
JSON
{
  "hex": "#dcba51",
  "rgb": {
    "r": 220,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 45.324,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79884,
    "c": 0.1288,
    "h": 91.2
  },
  "luminance": 0.50928
}

Semantic roles & 50–950 ramp

primary
#DCBA51
secondary
#385099
accent
#68E93E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCBA51

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

Preview Lab → · Contrast checker → · Palette generator →

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