#D6CC47#D6CC47

#D6CC47 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.150 H 105.0°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D6CC47
RGBrgb(214, 204, 71)
HSLhsl(56, 64%, 56%)
HSVhsv(56, 67%, 84%)
CMYKcmyk(0%, 4.7%, 66.8%, 16.1%)
CIE-LABlab(80.70, -11.96, 64.63)
CIE-LCHlch(80.70, 65.73, 100.48°)
OKLaboklab(82.96% -0.0389 0.1451)
OKLCHoklch(82.96% 0.15 105)
XYZxyz(50.4637, 57.9387, 14.4851)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC47 #4751D6
analogous
#D68447 #D6CC47 #98D647
triadic
#D6CC47 #47D6CC #CC47D6
tetradic
#D6CC47 #47D684 #4751D6 #D64798
square
#D6CC47 #47D684 #4751D6 #D64798
split-complementary
#D6CC47 #4798D6 #8447D6
monochromatic
#857E1E #B7AD29 #D6CC47 #E1DA79 #ECE8AB

Accessibility & contrast

On white

1.67
#D6CC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D6CC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC47
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC47#FFFFFF#000000##000000
##D6CC471.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC534
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#E5BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6cc47;
/* rgb */ color: rgb(214, 204, 71);
/* oklch */ color: oklch(83.0% 0.150 105.0);
Tailwind
colors: {
  custom: {
    50: '#e6db81',
    500: '#d6cc47',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc47;
$custom-light: #e6db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc47",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 55.804,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82955,
    "c": 0.1502,
    "h": 105
  },
  "luminance": 0.57937
}

Semantic roles & 50–950 ramp

primary
#D6CC47
secondary
#363C8C
accent
#4DE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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