#D6CC39#D6CC39

#D6CC39 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.159 H 105.4°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D6CC39
RGBrgb(214, 204, 57)
HSLhsl(56, 66%, 53%)
HSVhsv(56, 73%, 84%)
CMYKcmyk(0%, 4.7%, 73.4%, 16.1%)
CIE-LABlab(80.62, -12.65, 69.67)
CIE-LCHlch(80.62, 70.81, 100.29°)
OKLaboklab(82.86% -0.0422 0.1533)
OKLCHoklch(82.86% 0.159 105.4)
XYZxyz(50.0650, 57.7792, 12.3854)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC39 #3943D6
analogous
#D67D39 #D6CC39 #92D639
triadic
#D6CC39 #39D6CC #CC39D6
tetradic
#D6CC39 #39D67D #3943D6 #D63992
square
#D6CC39 #39D67D #3943D6 #D63992
split-complementary
#D6CC39 #3992D6 #7D39D6
monochromatic
#7B7519 #AEA524 #D6CC39 #E0D96C #EBE69E

Accessibility & contrast

On white

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

On black

12.56
#D6CC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC39
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC39#FFFFFF#000000##000000
##D6CC391.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC51C
Deuteranopia (green-blind)
#E2CB44
Tritanopia (blue-blind)
#E6BEB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6cc39;
/* rgb */ color: rgb(214, 204, 57);
/* oklch */ color: oklch(82.9% 0.159 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7db7a',
    500: '#d6cc39',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc39;
$custom-light: #e7db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc39",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 56.178,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82856,
    "c": 0.15901,
    "h": 105.4
  },
  "luminance": 0.57777
}

Semantic roles & 50–950 ramp

primary
#D6CC39
secondary
#303683
accent
#4AE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6CC39

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

Preview Lab → · Contrast checker → · Palette generator →

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