#D2D751#D2D751

#D2D751 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.0% C 0.154 H 111.3°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#D2D751
RGBrgb(210, 215, 81)
HSLhsl(62, 63%, 58%)
HSVhsv(62, 62%, 84%)
CMYKcmyk(2.3%, 0%, 62.3%, 15.7%)
CIE-LABlab(83.39, -18.50, 63.32)
CIE-LCHlch(83.39, 65.97, 106.29°)
OKLaboklab(85.04% -0.0561 0.1439)
OKLCHoklch(85.04% 0.154 111.3)
XYZxyz(52.3655, 62.8978, 17.1650)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D751 #5651D7
analogous
#D79951 #D2D751 #8FD751
triadic
#D2D751 #51D2D7 #D751D2
tetradic
#D2D751 #51D799 #5651D7 #D7518F
square
#D2D751 #51D799 #5651D7 #D7518F
split-complementary
#D2D751 #518FD7 #9951D7
monochromatic
#898D20 #B9BF2C #D2D751 #DFE283 #ECEEB5

Accessibility & contrast

On white

1.55
#D2D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#D2D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D751
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D751#FFFFFF#000000##000000
##D2D7511.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E7D25A
Tritanopia (blue-blind)
#E0CBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d751;
/* rgb */ color: rgb(210, 215, 81);
/* oklch */ color: oklch(85.0% 0.154 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e388',
    500: '#d2d751',
    950: '#000000',
  },
}
SCSS
$custom: #d2d751;
$custom-light: #e3e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d751",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 62.239,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85042,
    "c": 0.15447,
    "h": 111.3
  },
  "luminance": 0.62897
}

Semantic roles & 50–950 ramp

primary
#D2D751
secondary
#3D3993
accent
#42E648
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D751

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

Preview Lab → · Contrast checker → · Palette generator →

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