#D6C046#D6C046

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

Color values

HEX#D6C046
RGBrgb(214, 192, 70)
HSLhsl(51, 64%, 56%)
HSVhsv(51, 67%, 84%)
CMYKcmyk(0%, 10.3%, 67.3%, 16.1%)
CIE-LABlab(77.54, -5.89, 61.79)
CIE-LCHlch(77.54, 62.07, 95.45°)
OKLaboklab(80.44% -0.0218 0.1389)
OKLCHoklch(80.44% 0.141 98.9)
XYZxyz(47.6888, 52.4398, 13.4031)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C046 #465CD6
analogous
#D67846 #D6C046 #A4D646
triadic
#D6C046 #46D6C0 #C046D6
tetradic
#D6C046 #46D678 #465CD6 #D646A4
square
#D6C046 #46D678 #465CD6 #D646A4
split-complementary
#D6C046 #46A4D6 #7846D6
monochromatic
#84751D #B6A128 #D6C046 #E1D178 #ECE2AA

Accessibility & contrast

On white

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

On black

11.49
#D6C046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C046
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C046#FFFFFF#000000##000000
##D6C0461.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB36
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#E6B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d6c046;
/* rgb */ color: rgb(214, 192, 70);
/* oklch */ color: oklch(80.4% 0.141 98.9);
Tailwind
colors: {
  custom: {
    50: '#e6d280',
    500: '#d6c046',
    950: '#000000',
  },
}
SCSS
$custom: #d6c046;
$custom-light: #e6d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c046",
  "rgb": {
    "r": 214,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 50.833,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80442,
    "c": 0.1406,
    "h": 98.9
  },
  "luminance": 0.52438
}

Semantic roles & 50–950 ramp

primary
#D6C046
secondary
#35428B
accent
#5AE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C046

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

Preview Lab → · Contrast checker → · Palette generator →

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