#D2D651#D2D651

#D2D651 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.8% C 0.153 H 110.9°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#D2D651
RGBrgb(210, 214, 81)
HSLhsl(62, 62%, 58%)
HSVhsv(62, 62%, 84%)
CMYKcmyk(1.9%, 0%, 62.1%, 16.1%)
CIE-LABlab(83.12, -18.01, 63.03)
CIE-LCHlch(83.12, 65.56, 105.95°)
OKLaboklab(84.83% -0.0547 0.1433)
OKLCHoklch(84.83% 0.153 110.9)
XYZxyz(52.1116, 62.3901, 17.0804)
Luminance0.6239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D651 #5551D6
analogous
#D69851 #D2D651 #8FD651
triadic
#D2D651 #51D2D6 #D651D2
tetradic
#D2D651 #51D698 #5551D6 #D6518F
square
#D2D651 #51D698 #5551D6 #D6518F
split-complementary
#D2D651 #518FD6 #9851D6
monochromatic
#888C21 #B9BD2D #D2D651 #DFE283 #ECEDB4

Accessibility & contrast

On white

1.56
#D2D651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#D2D651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D651
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D651#FFFFFF#000000##000000
##D2D6511.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#E0CABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d651;
/* rgb */ color: rgb(210, 214, 81);
/* oklch */ color: oklch(84.8% 0.153 110.9);
Tailwind
colors: {
  custom: {
    50: '#e3e288',
    500: '#d2d651',
    950: '#000000',
  },
}
SCSS
$custom: #d2d651;
$custom-light: #e3e288;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d651",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 81
  },
  "hsl": {
    "h": 61.805,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84827,
    "c": 0.15341,
    "h": 110.9
  },
  "luminance": 0.62389
}

Semantic roles & 50–950 ramp

primary
#D2D651
secondary
#3C3A92
accent
#43E548
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D651

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

Preview Lab → · Contrast checker → · Palette generator →

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