#D6C047#D6C047

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

Color values

HEX#D6C047
RGBrgb(214, 192, 71)
HSLhsl(51, 64%, 56%)
HSVhsv(51, 67%, 84%)
CMYKcmyk(0%, 10.3%, 66.8%, 16.1%)
CIE-LABlab(77.55, -5.84, 61.39)
CIE-LCHlch(77.55, 61.67, 95.43°)
OKLaboklab(80.45% -0.0215 0.1382)
OKLCHoklch(80.45% 0.14 98.9)
XYZxyz(47.7207, 52.4526, 13.5708)
Luminance0.5245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C047 #475DD6
analogous
#D67847 #D6C047 #A4D647
triadic
#D6C047 #47D6C0 #C047D6
tetradic
#D6C047 #47D678 #475DD6 #D647A4
square
#D6C047 #47D678 #475DD6 #D647A4
split-complementary
#D6C047 #47A4D6 #7847D6
monochromatic
#85751E #B7A129 #D6C047 #E1D179 #ECE2AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6C047#FFFFFF#000000##000000
##D6C0471.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)
#D2BB37
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#E6B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d6c047;
/* rgb */ color: rgb(214, 192, 71);
/* oklch */ color: oklch(80.5% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#e6d280',
    500: '#d6c047',
    950: '#000000',
  },
}
SCSS
$custom: #d6c047;
$custom-light: #e6d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c047",
  "rgb": {
    "r": 214,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 50.769,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8045,
    "c": 0.13989,
    "h": 98.9
  },
  "luminance": 0.5245
}

Semantic roles & 50–950 ramp

primary
#D6C047
secondary
#36438C
accent
#5BE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C047

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

Preview Lab → · Contrast checker → · Palette generator →

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