#DCB845#DCB845

#DCB845 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.4% C 0.137 H 91.3°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#DCB845
RGBrgb(220, 184, 69)
HSLhsl(46, 68%, 57%)
HSVhsv(46, 69%, 86%)
CMYKcmyk(0%, 16.4%, 68.6%, 13.7%)
CIE-LABlab(76.03, 0.77, 60.81)
CIE-LCHlch(76.03, 60.82, 89.28°)
OKLaboklab(79.37% -0.0032 0.1365)
OKLCHoklch(79.37% 0.137 91.3)
XYZxyz(47.7324, 49.9291, 12.7522)
Luminance0.4993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB845 #4569DC
analogous
#DC6D45 #DCB845 #B5DC45
triadic
#DCB845 #45DCB8 #B845DC
tetradic
#DCB845 #45DC6D #4569DC #DC45B5
square
#DCB845 #45DC6D #4569DC #DC45B5
split-complementary
#DCB845 #45B5DC #6D45DC
monochromatic
#8C711A #C09B24 #DCB845 #E6CC79 #EFDFAC

Accessibility & contrast

On white

1.91
#DCB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#DCB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB845
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB845#FFFFFF#000000##000000
##DCB8451.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB536
Deuteranopia (green-blind)
#D4C04B
Tritanopia (blue-blind)
#EEA9A0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dcb845;
/* rgb */ color: rgb(220, 184, 69);
/* oklch */ color: oklch(79.4% 0.137 91.3);
Tailwind
colors: {
  custom: {
    50: '#ebcd7f',
    500: '#dcb845',
    950: '#000000',
  },
}
SCSS
$custom: #dcb845;
$custom-light: #ebcd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb845",
  "rgb": {
    "r": 220,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 45.695,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79369,
    "c": 0.13651,
    "h": 91.3
  },
  "luminance": 0.49926
}

Semantic roles & 50–950 ramp

primary
#DCB845
secondary
#A0AEDD
accent
#66EB3D
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #DCB845

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

Preview Lab → · Contrast checker → · Palette generator →

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