#D2D856#D2D856

#D2D856 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.152 H 111.7°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D2D856
RGBrgb(210, 216, 86)
HSLhsl(63, 63%, 59%)
HSVhsv(63, 60%, 85%)
CMYKcmyk(2.8%, 0%, 60.2%, 15.3%)
CIE-LABlab(83.70, -18.67, 61.57)
CIE-LCHlch(83.70, 64.34, 106.87°)
OKLaboklab(85.3% -0.056 0.1409)
OKLCHoklch(85.3% 0.152 111.7)
XYZxyz(52.8153, 63.4864, 18.2742)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D856 #5C56D8
analogous
#D89D56 #D2D856 #91D856
triadic
#D2D856 #56D2D8 #D856D2
tetradic
#D2D856 #56D89D #5C56D8 #D85691
square
#D2D856 #56D89D #5C56D8 #D85691
split-complementary
#D2D856 #5691D8 #9D56D8
monochromatic
#8D9222 #BDC42D #D2D856 #DFE388 #ECEFB9

Accessibility & contrast

On white

1.53
#D2D856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D2D856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D856
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D856#FFFFFF#000000##000000
##D2D8561.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF47
Deuteranopia (green-blind)
#E8D25E
Tritanopia (blue-blind)
#DFCCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d856;
/* rgb */ color: rgb(210, 216, 86);
/* oklch */ color: oklch(85.3% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e38b',
    500: '#d2d856',
    950: '#000000',
  },
}
SCSS
$custom: #d2d856;
$custom-light: #e3e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d856",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 62.769,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85302,
    "c": 0.15165,
    "h": 111.7
  },
  "luminance": 0.63485
}

Semantic roles & 50–950 ramp

primary
#D2D856
secondary
#3F3B97
accent
#42E64A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D856

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

Preview Lab → · Contrast checker → · Palette generator →

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