#D6C545#D6C545

#D6C545 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.145 H 101.6°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D6C545
RGBrgb(214, 197, 69)
HSLhsl(53, 64%, 55%)
HSVhsv(53, 68%, 84%)
CMYKcmyk(0%, 7.9%, 67.8%, 16.1%)
CIE-LABlab(78.85, -8.51, 63.53)
CIE-LCHlch(78.85, 64.09, 97.63°)
OKLaboklab(81.47% -0.0294 0.1424)
OKLCHoklch(81.47% 0.145 101.6)
XYZxyz(48.7741, 54.6604, 13.6104)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C545 #4556D6
analogous
#D67D45 #D6C545 #9ED645
triadic
#D6C545 #45D6C5 #C545D6
tetradic
#D6C545 #45D67D #4556D6 #D6459E
square
#D6C545 #45D67D #4556D6 #D6459E
split-complementary
#D6C545 #459ED6 #7D45D6
monochromatic
#84781D #B6A528 #D6C545 #E1D577 #ECE4A9

Accessibility & contrast

On white

1.76
#D6C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#D6C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C545
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C545#FFFFFF#000000##000000
##D6C5451.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#DCC64D
Tritanopia (blue-blind)
#E6B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d6c545;
/* rgb */ color: rgb(214, 197, 69);
/* oklch */ color: oklch(81.5% 0.145 101.6);
Tailwind
colors: {
  custom: {
    50: '#e6d680',
    500: '#d6c545',
    950: '#000000',
  },
}
SCSS
$custom: #d6c545;
$custom-light: #e6d680;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c545",
  "rgb": {
    "r": 214,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 52.966,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81472,
    "c": 0.1454,
    "h": 101.6
  },
  "luminance": 0.54658
}

Semantic roles & 50–950 ramp

primary
#D6C545
secondary
#353F8A
accent
#54E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C545

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

Preview Lab → · Contrast checker → · Palette generator →

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