#D6B845#D6B845

#D6B845 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.135 H 94.3°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#D6B845
RGBrgb(214, 184, 69)
HSLhsl(48, 64%, 55%)
HSVhsv(48, 68%, 84%)
CMYKcmyk(0%, 14%, 67.8%, 16.1%)
CIE-LABlab(75.46, -1.79, 60.05)
CIE-LCHlch(75.46, 60.07, 91.71°)
OKLaboklab(78.79% -0.0102 0.1351)
OKLCHoklch(78.79% 0.135 94.3)
XYZxyz(45.9485, 49.0093, 12.6686)
Luminance0.4901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B845 #4563D6
analogous
#D66F45 #D6B845 #ACD645
triadic
#D6B845 #45D6B8 #B845D6
tetradic
#D6B845 #45D66F #4563D6 #D645AC
square
#D6B845 #45D66F #4563D6 #D645AC
split-complementary
#D6B845 #45ACD6 #6F45D6
monochromatic
#846E1D #B69828 #D6B845 #E1CB77 #ECDEA9

Accessibility & contrast

On white

1.94
#D6B845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#D6B845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B845
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B845#FFFFFF#000000##000000
##D6B8451.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB536
Deuteranopia (green-blind)
#D2BE4B
Tritanopia (blue-blind)
#E7AAA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d6b845;
/* rgb */ color: rgb(214, 184, 69);
/* oklch */ color: oklch(78.8% 0.135 94.3);
Tailwind
colors: {
  custom: {
    50: '#e6cd7f',
    500: '#d6b845',
    950: '#000000',
  },
}
SCSS
$custom: #d6b845;
$custom-light: #e6cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b845",
  "rgb": {
    "r": 214,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 47.586,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78788,
    "c": 0.13543,
    "h": 94.3
  },
  "luminance": 0.49007
}

Semantic roles & 50–950 ramp

primary
#D6B845
secondary
#9DAADA
accent
#63E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D6B845

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

Preview Lab → · Contrast checker → · Palette generator →

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