#D6C043#D6C043

#D6C043 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.143 H 99.1°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#D6C043
RGBrgb(214, 192, 67)
HSLhsl(51, 64%, 55%)
HSVhsv(51, 69%, 84%)
CMYKcmyk(0%, 10.3%, 68.7%, 16.1%)
CIE-LABlab(77.52, -6.05, 62.97)
CIE-LCHlch(77.52, 63.26, 95.49°)
OKLaboklab(80.42% -0.0226 0.1409)
OKLCHoklch(80.42% 0.143 99.1)
XYZxyz(47.5965, 52.4029, 12.9168)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C043 #4359D6
analogous
#D67643 #D6C043 #A3D643
triadic
#D6C043 #43D6C0 #C043D6
tetradic
#D6C043 #43D676 #4359D6 #D643A3
square
#D6C043 #43D676 #4359D6 #D643A3
split-complementary
#D6C043 #43A3D6 #7643D6
monochromatic
#82731C #B49F27 #D6C043 #E1D175 #ECE2A7

Accessibility & contrast

On white

1.83
#D6C043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#D6C043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C043
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C043#FFFFFF#000000##000000
##D6C0431.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB31
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#E6B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d6c043;
/* rgb */ color: rgb(214, 192, 67);
/* oklch */ color: oklch(80.4% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#e6d27e',
    500: '#d6c043',
    950: '#000000',
  },
}
SCSS
$custom: #d6c043;
$custom-light: #e6d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c043",
  "rgb": {
    "r": 214,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 51.02,
    "s": 64.192,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80417,
    "c": 0.1427,
    "h": 99.1
  },
  "luminance": 0.52401
}

Semantic roles & 50–950 ramp

primary
#D6C043
secondary
#344189
accent
#5AE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C043

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

Preview Lab → · Contrast checker → · Palette generator →

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