#D6D956#D6D956

#D6D956 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.8% C 0.152 H 110.4°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#D6D956
RGBrgb(214, 217, 86)
HSLhsl(61, 63%, 59%)
HSVhsv(61, 60%, 85%)
CMYKcmyk(1.4%, 0%, 60.4%, 14.9%)
CIE-LABlab(84.27, -17.53, 62.29)
CIE-LCHlch(84.27, 64.71, 105.72°)
OKLaboklab(85.84% -0.0531 0.1423)
OKLCHoklch(85.84% 0.152 110.4)
XYZxyz(54.2257, 64.5951, 18.4139)
Luminance0.6459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D956 #5956D9
analogous
#D99B56 #D6D956 #95D956
triadic
#D6D956 #56D6D9 #D956D6
tetradic
#D6D956 #56D99B #5956D9 #D95695
square
#D6D956 #56D99B #5956D9 #D95695
split-complementary
#D6D956 #5695D9 #9B56D9
monochromatic
#919321 #C2C52C #D6D956 #E2E488 #EEEFBA

Accessibility & contrast

On white

1.51
#D6D956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#D6D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D956
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D956#FFFFFF#000000##000000
##D6D9561.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D046
Deuteranopia (green-blind)
#EAD45E
Tritanopia (blue-blind)
#E4CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d6d956;
/* rgb */ color: rgb(214, 217, 86);
/* oklch */ color: oklch(85.8% 0.152 110.4);
Tailwind
colors: {
  custom: {
    50: '#e5e48b',
    500: '#d6d956',
    950: '#000000',
  },
}
SCSS
$custom: #d6d956;
$custom-light: #e5e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d956",
  "rgb": {
    "r": 214,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 61.374,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85839,
    "c": 0.1519,
    "h": 110.4
  },
  "luminance": 0.64594
}

Semantic roles & 50–950 ramp

primary
#D6D956
secondary
#3D3B98
accent
#41E645
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D6D956

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

Preview Lab → · Contrast checker → · Palette generator →

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