#DCB945#DCB945

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

Color values

HEX#DCB945
RGBrgb(220, 185, 69)
HSLhsl(46, 68%, 57%)
HSVhsv(46, 69%, 86%)
CMYKcmyk(0%, 15.9%, 68.6%, 13.7%)
CIE-LABlab(76.28, 0.24, 61.08)
CIE-LCHlch(76.28, 61.08, 89.77°)
OKLaboklab(79.57% -0.0047 0.137)
OKLCHoklch(79.57% 0.137 92)
XYZxyz(47.9408, 50.3460, 12.8217)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB945 #4568DC
analogous
#DC6E45 #DCB945 #B3DC45
triadic
#DCB945 #45DCB9 #B945DC
tetradic
#DCB945 #45DC6E #4568DC #DC45B3
square
#DCB945 #45DC6E #4568DC #DC45B3
split-complementary
#DCB945 #45B3DC #6E45DC
monochromatic
#8C721A #C09C24 #DCB945 #E6CC79 #EFE0AC

Accessibility & contrast

On white

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

On black

11.07
#DCB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB945
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB945#FFFFFF#000000##000000
##DCB9451.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB636
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#EDAAA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dcb945;
/* rgb */ color: rgb(220, 185, 69);
/* oklch */ color: oklch(79.6% 0.137 92.0);
Tailwind
colors: {
  custom: {
    50: '#ebcd7f',
    500: '#dcb945',
    950: '#000000',
  },
}
SCSS
$custom: #dcb945;
$custom-light: #ebcd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb945",
  "rgb": {
    "r": 220,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 46.093,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79571,
    "c": 0.13711,
    "h": 92
  },
  "luminance": 0.50343
}

Semantic roles & 50–950 ramp

primary
#DCB945
secondary
#334992
accent
#65EB3D
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DCB945

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

Preview Lab → · Contrast checker → · Palette generator →

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