#D6CC51#D6CC51

#D6CC51 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.143 H 104.7°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D6CC51
RGBrgb(214, 204, 81)
HSLhsl(55, 62%, 58%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 4.7%, 62.1%, 16.1%)
CIE-LABlab(80.78, -11.36, 60.63)
CIE-LCHlch(80.78, 61.69, 100.62°)
OKLaboklab(83.04% -0.0361 0.1381)
OKLCHoklch(83.04% 0.143 104.7)
XYZxyz(50.8115, 58.0778, 16.3166)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC51 #515BD6
analogous
#D68A51 #D6CC51 #9DD651
triadic
#D6CC51 #51D6CC #CC51D6
tetradic
#D6CC51 #51D68A #515BD6 #D6519D
square
#D6CC51 #51D68A #515BD6 #D6519D
split-complementary
#D6CC51 #519DD6 #8A51D6
monochromatic
#8C8421 #BDB22D #D6CC51 #E2DB83 #EDE9B4

Accessibility & contrast

On white

1.66
#D6CC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D6CC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC51
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC51#FFFFFF#000000##000000
##D6CC511.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#E5BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6cc51;
/* rgb */ color: rgb(214, 204, 81);
/* oklch */ color: oklch(83.0% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#e6db87',
    500: '#d6cc51',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc51;
$custom-light: #e6db87;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc51",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 55.489,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83042,
    "c": 0.14279,
    "h": 104.7
  },
  "luminance": 0.58076
}

Semantic roles & 50–950 ramp

primary
#D6CC51
secondary
#3A4092
accent
#4FE543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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