#D2D456#D2D456

#D2D456 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.4% C 0.147 H 110.0°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#D2D456
RGBrgb(210, 212, 86)
HSLhsl(61, 59%, 58%)
HSVhsv(61, 59%, 83%)
CMYKcmyk(0.9%, 0%, 59.4%, 16.9%)
CIE-LABlab(82.63, -16.69, 60.41)
CIE-LCHlch(82.63, 62.67, 105.45°)
OKLaboklab(84.45% -0.0505 0.1384)
OKLCHoklch(84.45% 0.147 110)
XYZxyz(51.8030, 61.4618, 17.9368)
Luminance0.6146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D456 #5856D4
analogous
#D49756 #D2D456 #93D456
triadic
#D2D456 #56D2D4 #D456D2
tetradic
#D2D456 #56D497 #5856D4 #D45693
square
#D2D456 #56D497 #5856D4 #D45693
split-complementary
#D2D456 #5693D4 #9756D4
monochromatic
#8A8C24 #BBBD30 #D2D456 #DFE087 #ECEDB8

Accessibility & contrast

On white

1.58
#D2D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#D2D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D456
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D456#FFFFFF#000000##000000
##D2D4561.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC47
Deuteranopia (green-blind)
#E5D05E
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d456;
/* rgb */ color: rgb(210, 212, 86);
/* oklch */ color: oklch(84.4% 0.147 110.0);
Tailwind
colors: {
  custom: {
    50: '#e3e18b',
    500: '#d2d456',
    950: '#000000',
  },
}
SCSS
$custom: #d2d456;
$custom-light: #e3e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d456",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 60.952,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84446,
    "c": 0.14736,
    "h": 110
  },
  "luminance": 0.6146
}

Semantic roles & 50–950 ramp

primary
#D2D456
secondary
#3E3C92
accent
#45E348
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D456

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

Preview Lab → · Contrast checker → · Palette generator →

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