#D2D956#D2D956

#D2D956 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.153 H 112.1°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D2D956
RGBrgb(210, 217, 86)
HSLhsl(63, 63%, 59%)
HSVhsv(63, 60%, 85%)
CMYKcmyk(3.2%, 0%, 60.4%, 14.9%)
CIE-LABlab(83.97, -19.16, 61.86)
CIE-LCHlch(83.97, 64.76, 107.21°)
OKLaboklab(85.52% -0.0574 0.1415)
OKLCHoklch(85.52% 0.153 112.1)
XYZxyz(53.0723, 64.0004, 18.3599)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D956 #5D56D9
analogous
#D99F56 #D2D956 #91D956
triadic
#D2D956 #56D2D9 #D956D2
tetradic
#D2D956 #56D99F #5D56D9 #D95691
square
#D2D956 #56D99F #5D56D9 #D95691
split-complementary
#D2D956 #5691D9 #9F56D9
monochromatic
#8D9321 #BDC52C #D2D956 #DFE488 #EDEFBA

Accessibility & contrast

On white

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

On black

13.80
#D2D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D956
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D956#FFFFFF#000000##000000
##D2D9561.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d956;
/* rgb */ color: rgb(210, 217, 86);
/* oklch */ color: oklch(85.5% 0.153 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e48b',
    500: '#d2d956',
    950: '#000000',
  },
}
SCSS
$custom: #d2d956;
$custom-light: #e3e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d956",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 63.206,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85516,
    "c": 0.15273,
    "h": 112.1
  },
  "luminance": 0.63999
}

Semantic roles & 50–950 ramp

primary
#D2D956
secondary
#403B98
accent
#41E64A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D956

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

Preview Lab → · Contrast checker → · Palette generator →

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