#D6C247#D6C247

#D6C247 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.141 H 100.0°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D6C247
RGBrgb(214, 194, 71)
HSLhsl(52, 64%, 56%)
HSVhsv(52, 67%, 84%)
CMYKcmyk(0%, 9.3%, 66.8%, 16.1%)
CIE-LABlab(78.07, -6.87, 61.93)
CIE-LCHlch(78.07, 62.31, 96.33°)
OKLaboklab(80.86% -0.0245 0.1394)
OKLCHoklch(80.86% 0.142 100)
XYZxyz(48.1628, 53.3368, 13.7181)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C247 #475BD6
analogous
#D67A47 #D6C247 #A3D647
triadic
#D6C247 #47D6C2 #C247D6
tetradic
#D6C247 #47D67A #475BD6 #D647A3
square
#D6C247 #47D67A #475BD6 #D647A3
split-complementary
#D6C247 #47A3D6 #7A47D6
monochromatic
#85771E #B7A329 #D6C247 #E1D379 #ECE3AB

Accessibility & contrast

On white

1.80
#D6C247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#D6C247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C247
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C247#FFFFFF#000000##000000
##D6C2471.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD37
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#E6B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d6c247;
/* rgb */ color: rgb(214, 194, 71);
/* oklch */ color: oklch(80.9% 0.141 100.0);
Tailwind
colors: {
  custom: {
    50: '#e6d480',
    500: '#d6c247',
    950: '#000000',
  },
}
SCSS
$custom: #d6c247;
$custom-light: #e6d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c247",
  "rgb": {
    "r": 214,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 51.608,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80865,
    "c": 0.1415,
    "h": 100
  },
  "luminance": 0.53335
}

Semantic roles & 50–950 ramp

primary
#D6C247
secondary
#36428C
accent
#58E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C247

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

Preview Lab → · Contrast checker → · Palette generator →

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