#D6B545#D6B545

#D6B545 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.2% C 0.133 H 92.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#D6B545
RGBrgb(214, 181, 69)
HSLhsl(46, 64%, 55%)
HSVhsv(46, 68%, 84%)
CMYKcmyk(0%, 15.4%, 67.8%, 16.1%)
CIE-LABlab(74.68, -0.22, 59.24)
CIE-LCHlch(74.68, 59.24, 90.22°)
OKLaboklab(78.18% -0.0057 0.1334)
OKLCHoklch(78.18% 0.133 92.4)
XYZxyz(45.3319, 47.7761, 12.4631)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B545 #4566D6
analogous
#D66C45 #D6B545 #AED645
triadic
#D6B545 #45D6B5 #B545D6
tetradic
#D6B545 #45D66C #4566D6 #D645AE
square
#D6B545 #45D66C #4566D6 #D645AE
split-complementary
#D6B545 #45AED6 #6C45D6
monochromatic
#846C1D #B69528 #D6B545 #E1C977 #ECDDA9

Accessibility & contrast

On white

1.99
#D6B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#D6B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B545
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B545#FFFFFF#000000##000000
##D6B5451.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B237
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#E7A79E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d6b545;
/* rgb */ color: rgb(214, 181, 69);
/* oklch */ color: oklch(78.2% 0.133 92.4);
Tailwind
colors: {
  custom: {
    50: '#e6ca7e',
    500: '#d6b545',
    950: '#000000',
  },
}
SCSS
$custom: #d6b545;
$custom-light: #e6ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b545",
  "rgb": {
    "r": 214,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 46.345,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78177,
    "c": 0.13347,
    "h": 92.4
  },
  "luminance": 0.47774
}

Semantic roles & 50–950 ramp

primary
#D6B545
secondary
#9DABDA
accent
#67E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D6B545

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

Preview Lab → · Contrast checker → · Palette generator →

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