#DCBA52#DCBA52

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

Color values

HEX#DCBA52
RGBrgb(220, 186, 82)
HSLhsl(45, 66%, 59%)
HSVhsv(45, 63%, 86%)
CMYKcmyk(0%, 15.5%, 62.7%, 13.7%)
CIE-LABlab(76.65, 0.49, 55.86)
CIE-LCHlch(76.65, 55.86, 89.50°)
OKLaboklab(79.89% -0.0024 0.128)
OKLCHoklch(79.89% 0.128 91.1)
XYZxyz(48.5994, 50.9453, 15.2546)
Luminance0.5094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBA52 #5274DC
analogous
#DC7552 #DCBA52 #B9DC52
triadic
#DCBA52 #52DCBA #BA52DC
tetradic
#DCBA52 #52DC75 #5274DC #DC52B9
square
#DCBA52 #52DC75 #5274DC #DC52B9
split-complementary
#DCBA52 #52B9DC #7552DC
monochromatic
#95781E #C8A129 #DCBA52 #E6CE85 #F1E3B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCBA52#FFFFFF#000000##000000
##DCBA521.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)
#CDB747
Deuteranopia (green-blind)
#D5C157
Tritanopia (blue-blind)
#EDACA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dcba52;
/* rgb */ color: rgb(220, 186, 82);
/* oklch */ color: oklch(79.9% 0.128 91.1);
Tailwind
colors: {
  custom: {
    50: '#eace87',
    500: '#dcba52',
    950: '#000000',
  },
}
SCSS
$custom: #dcba52;
$custom-light: #eace87;
$custom-dark: #000000;
JSON
{
  "hex": "#dcba52",
  "rgb": {
    "r": 220,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 45.217,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79894,
    "c": 0.128,
    "h": 91.1
  },
  "luminance": 0.50943
}

Semantic roles & 50–950 ramp

primary
#DCBA52
secondary
#38509A
accent
#69E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCBA52

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

Preview Lab → · Contrast checker → · Palette generator →

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