#D6D856#D6D856

#D6D856 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.151 H 110.0°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#D6D856
RGBrgb(214, 216, 86)
HSLhsl(61, 63%, 59%)
HSVhsv(61, 60%, 85%)
CMYKcmyk(0.9%, 0%, 60.2%, 15.3%)
CIE-LABlab(84.01, -17.03, 62.00)
CIE-LCHlch(84.01, 64.30, 105.36°)
OKLaboklab(85.63% -0.0517 0.1417)
OKLCHoklch(85.63% 0.151 110)
XYZxyz(53.9687, 64.0811, 18.3283)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D856 #5856D8
analogous
#D89956 #D6D856 #95D856
triadic
#D6D856 #56D6D8 #D856D6
tetradic
#D6D856 #56D899 #5856D8 #D85695
square
#D6D856 #56D899 #5856D8 #D85695
split-complementary
#D6D856 #5695D8 #9956D8
monochromatic
#909222 #C1C42D #D6D856 #E2E388 #EEEFB9

Accessibility & contrast

On white

1.52
#D6D856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#D6D856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D856
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D856#FFFFFF#000000##000000
##D6D8561.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF47
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#E4CBBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d6d856;
/* rgb */ color: rgb(214, 216, 86);
/* oklch */ color: oklch(85.6% 0.151 110.0);
Tailwind
colors: {
  custom: {
    50: '#e5e38b',
    500: '#d6d856',
    950: '#000000',
  },
}
SCSS
$custom: #d6d856;
$custom-light: #e5e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d856",
  "rgb": {
    "r": 214,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 60.923,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85626,
    "c": 0.15085,
    "h": 110
  },
  "luminance": 0.6408
}

Semantic roles & 50–950 ramp

primary
#D6D856
secondary
#3D3B97
accent
#42E645
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D6D856

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

Preview Lab → · Contrast checker → · Palette generator →

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