#D6C641#D6C641

#D6C641 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.149 H 102.3°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D6C641
RGBrgb(214, 198, 65)
HSLhsl(54, 65%, 55%)
HSVhsv(54, 70%, 84%)
CMYKcmyk(0%, 7.5%, 69.6%, 16.1%)
CIE-LABlab(79.08, -9.23, 65.31)
CIE-LCHlch(79.08, 65.96, 98.05°)
OKLaboklab(81.65% -0.0318 0.1455)
OKLCHoklch(81.65% 0.149 102.3)
XYZxyz(48.8819, 55.0680, 13.0544)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C641 #4151D6
analogous
#D67C41 #D6C641 #9CD641
triadic
#D6C641 #41D6C6 #C641D6
tetradic
#D6C641 #41D67C #4151D6 #D6419C
square
#D6C641 #41D67C #4151D6 #D6419C
split-complementary
#D6C641 #419CD6 #7C41D6
monochromatic
#81761C #B3A427 #D6C641 #E1D573 #ECE4A6

Accessibility & contrast

On white

1.75
#D6C641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#D6C641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C641
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C641#FFFFFF#000000##000000
##D6C6411.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#E6B8AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d6c641;
/* rgb */ color: rgb(214, 198, 65);
/* oklch */ color: oklch(81.7% 0.149 102.3);
Tailwind
colors: {
  custom: {
    50: '#e6d67d',
    500: '#d6c641',
    950: '#000000',
  },
}
SCSS
$custom: #d6c641;
$custom-light: #e6d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c641",
  "rgb": {
    "r": 214,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 53.557,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8165,
    "c": 0.14894,
    "h": 102.3
  },
  "luminance": 0.55066
}

Semantic roles & 50–950 ramp

primary
#D6C641
secondary
#333C88
accent
#52E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C641

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

Preview Lab → · Contrast checker → · Palette generator →

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