#D2D756#D2D756

#D2D756 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.151 H 111.3°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D2D756
RGBrgb(210, 215, 86)
HSLhsl(62, 62%, 59%)
HSVhsv(62, 60%, 84%)
CMYKcmyk(2.3%, 0%, 60%, 15.7%)
CIE-LABlab(83.43, -18.17, 61.28)
CIE-LCHlch(83.43, 63.92, 106.52°)
OKLaboklab(85.09% -0.0547 0.1403)
OKLCHoklch(85.09% 0.151 111.3)
XYZxyz(52.5599, 62.9756, 18.1891)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D756 #5B56D7
analogous
#D79C56 #D2D756 #92D756
triadic
#D2D756 #56D2D7 #D756D2
tetradic
#D2D756 #56D79C #5B56D7 #D75692
square
#D2D756 #56D79C #5B56D7 #D75692
split-complementary
#D2D756 #5692D7 #9C56D7
monochromatic
#8C9022 #BCC22E #D2D756 #DFE387 #ECEEB9

Accessibility & contrast

On white

1.54
#D2D756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#D2D756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D756
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D756#FFFFFF#000000##000000
##D2D7561.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE47
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#DFCBBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d756;
/* rgb */ color: rgb(210, 215, 86);
/* oklch */ color: oklch(85.1% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e38b',
    500: '#d2d756',
    950: '#000000',
  },
}
SCSS
$custom: #d2d756;
$custom-light: #e3e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d756",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 86
  },
  "hsl": {
    "h": 62.326,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85088,
    "c": 0.15056,
    "h": 111.3
  },
  "luminance": 0.62974
}

Semantic roles & 50–950 ramp

primary
#D2D756
secondary
#3F3B96
accent
#43E549
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D756

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

Preview Lab → · Contrast checker → · Palette generator →

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