#DCB943#DCB943

#DCB943 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.6% C 0.138 H 92.2°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#DCB943
RGBrgb(220, 185, 67)
HSLhsl(46, 69%, 56%)
HSVhsv(46, 70%, 86%)
CMYKcmyk(0%, 15.9%, 69.5%, 13.7%)
CIE-LABlab(76.27, 0.14, 61.88)
CIE-LCHlch(76.27, 61.88, 89.87°)
OKLaboklab(79.55% -0.0052 0.1384)
OKLCHoklch(79.55% 0.138 92.2)
XYZxyz(47.8798, 50.3216, 12.5002)
Luminance0.5032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB943 #4366DC
analogous
#DC6D43 #DCB943 #B2DC43
triadic
#DCB943 #43DCB9 #B943DC
tetradic
#DCB943 #43DC6D #4366DC #DC43B2
square
#DCB943 #43DC6D #4366DC #DC43B2
split-complementary
#DCB943 #43B2DC #6D43DC
monochromatic
#8B711A #BE9B23 #DCB943 #E6CC77 #EFDFAA

Accessibility & contrast

On white

1.90
#DCB943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#DCB943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB943
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB943#FFFFFF#000000##000000
##DCB9431.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB633
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#EEAAA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dcb943;
/* rgb */ color: rgb(220, 185, 67);
/* oklch */ color: oklch(79.6% 0.138 92.2);
Tailwind
colors: {
  custom: {
    50: '#ebcd7e',
    500: '#dcb943',
    950: '#000000',
  },
}
SCSS
$custom: #dcb943;
$custom-light: #ebcd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb943",
  "rgb": {
    "r": 220,
    "g": 185,
    "b": 67
  },
  "hsl": {
    "h": 46.275,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79554,
    "c": 0.13847,
    "h": 92.2
  },
  "luminance": 0.50319
}

Semantic roles & 50–950 ramp

primary
#DCB943
secondary
#334890
accent
#64EB3C
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DCB943

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

Preview Lab → · Contrast checker → · Palette generator →

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