#DCBA4F#DCBA4F

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

Color values

HEX#DCBA4F
RGBrgb(220, 186, 79)
HSLhsl(46, 67%, 59%)
HSVhsv(46, 64%, 86%)
CMYKcmyk(0%, 15.5%, 64.1%, 13.7%)
CIE-LABlab(76.62, 0.30, 57.17)
CIE-LCHlch(76.62, 57.17, 89.70°)
OKLaboklab(79.86% -0.0034 0.1303)
OKLCHoklch(79.86% 0.13 91.5)
XYZxyz(48.4878, 50.9006, 14.6665)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBA4F #4F71DC
analogous
#DC734F #DCBA4F #B7DC4F
triadic
#DCBA4F #4FDCBA #BA4FDC
tetradic
#DCBA4F #4FDC73 #4F71DC #DC4FB7
square
#DCBA4F #4FDC73 #4F71DC #DC4FB7
split-complementary
#DCBA4F #4FB7DC #734FDC
monochromatic
#93771D #C6A027 #DCBA4F #E6CE82 #F0E2B5

Accessibility & contrast

On white

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

On black

11.18
#DCBA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBA4F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBA4F#FFFFFF#000000##000000
##DCBA4F1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcba4f;
/* rgb */ color: rgb(220, 186, 79);
/* oklch */ color: oklch(79.9% 0.130 91.5);
Tailwind
colors: {
  custom: {
    50: '#eace85',
    500: '#dcba4f',
    950: '#000000',
  },
}
SCSS
$custom: #dcba4f;
$custom-light: #eace85;
$custom-dark: #000000;
JSON
{
  "hex": "#dcba4f",
  "rgb": {
    "r": 220,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 45.532,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79864,
    "c": 0.13037,
    "h": 91.5
  },
  "luminance": 0.50898
}

Semantic roles & 50–950 ramp

primary
#DCBA4F
secondary
#374F98
accent
#67EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCBA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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