#DCB941#DCB941

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

Color values

HEX#DCB941
RGBrgb(220, 185, 65)
HSLhsl(46, 69%, 56%)
HSVhsv(46, 70%, 86%)
CMYKcmyk(0%, 15.9%, 70.5%, 13.7%)
CIE-LABlab(76.25, 0.04, 62.66)
CIE-LCHlch(76.25, 62.66, 89.96°)
OKLaboklab(79.54% -0.0057 0.1397)
OKLCHoklch(79.54% 0.14 92.4)
XYZxyz(47.8208, 50.2980, 12.1897)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB941 #4164DC
analogous
#DC6B41 #DCB941 #B1DC41
triadic
#DCB941 #41DCB9 #B941DC
tetradic
#DCB941 #41DC6B #4164DC #DC41B1
square
#DCB941 #41DC6B #4164DC #DC41B1
split-complementary
#DCB941 #41B1DC #6B41DC
monochromatic
#897019 #BD9A23 #DCB941 #E6CC75 #EFDFA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCB941#FFFFFF#000000##000000
##DCB9411.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)
#CDB630
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#EEAAA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dcb941;
/* rgb */ color: rgb(220, 185, 65);
/* oklch */ color: oklch(79.5% 0.140 92.4);
Tailwind
colors: {
  custom: {
    50: '#ebcd7c',
    500: '#dcb941',
    950: '#000000',
  },
}
SCSS
$custom: #dcb941;
$custom-light: #ebcd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb941",
  "rgb": {
    "r": 220,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 46.452,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79538,
    "c": 0.1398,
    "h": 92.4
  },
  "luminance": 0.50295
}

Semantic roles & 50–950 ramp

primary
#DCB941
secondary
#32478F
accent
#64EC3C
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DCB941

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

Preview Lab → · Contrast checker → · Palette generator →

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