#DCBA47#DCBA47

#DCBA47 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.8% C 0.136 H 92.4°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#DCBA47
RGBrgb(220, 186, 71)
HSLhsl(46, 68%, 57%)
HSVhsv(46, 68%, 86%)
CMYKcmyk(0%, 15.5%, 67.7%, 13.7%)
CIE-LABlab(76.55, -0.17, 60.53)
CIE-LCHlch(76.55, 60.53, 90.16°)
OKLaboklab(79.79% -0.0057 0.1362)
OKLCHoklch(79.79% 0.136 92.4)
XYZxyz(48.2139, 50.7911, 13.2242)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBA47 #4769DC
analogous
#DC7047 #DCBA47 #B3DC47
triadic
#DCBA47 #47DCBA #BA47DC
tetradic
#DCBA47 #47DC70 #4769DC #DC47B3
square
#DCBA47 #47DC70 #4769DC #DC47B3
split-complementary
#DCBA47 #47B3DC #7047DC
monochromatic
#8E731B #C19D25 #DCBA47 #E6CD7A #F0E1AE

Accessibility & contrast

On white

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

On black

11.16
#DCBA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBA47
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBA47#FFFFFF#000000##000000
##DCBA471.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB738
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#EDACA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dcba47;
/* rgb */ color: rgb(220, 186, 71);
/* oklch */ color: oklch(79.8% 0.136 92.4);
Tailwind
colors: {
  custom: {
    50: '#ebce80',
    500: '#dcba47',
    950: '#000000',
  },
}
SCSS
$custom: #dcba47;
$custom-light: #ebce80;
$custom-dark: #000000;
JSON
{
  "hex": "#dcba47",
  "rgb": {
    "r": 220,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 46.309,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7979,
    "c": 0.13632,
    "h": 92.4
  },
  "luminance": 0.50788
}

Semantic roles & 50–950 ramp

primary
#DCBA47
secondary
#344A93
accent
#65EB3D
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCBA47

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

Preview Lab → · Contrast checker → · Palette generator →

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