#D6D751#D6D751

#D6D751 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.154 H 109.7°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D6D751
RGBrgb(214, 215, 81)
HSLhsl(60, 63%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0.5%, 0%, 62.3%, 15.7%)
CIE-LABlab(83.70, -16.86, 63.74)
CIE-LCHlch(83.70, 65.94, 104.82°)
OKLaboklab(85.37% -0.0517 0.1447)
OKLCHoklch(85.37% 0.154 109.7)
XYZxyz(53.5189, 63.4925, 17.2191)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D751 #5251D7
analogous
#D79551 #D6D751 #93D751
triadic
#D6D751 #51D6D7 #D751D6
tetradic
#D6D751 #51D795 #5251D7 #D75193
square
#D6D751 #51D795 #5251D7 #D75193
split-complementary
#D6D751 #5193D7 #9551D7
monochromatic
#8C8D20 #BEBF2C #D6D751 #E2E283 #EDEEB5

Accessibility & contrast

On white

1.53
#D6D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D6D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D751
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D751#FFFFFF#000000##000000
##D6D7511.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#E4CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d6d751;
/* rgb */ color: rgb(214, 215, 81);
/* oklch */ color: oklch(85.4% 0.154 109.7);
Tailwind
colors: {
  custom: {
    50: '#e6e388',
    500: '#d6d751',
    950: '#000000',
  },
}
SCSS
$custom: #d6d751;
$custom-light: #e6e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d751",
  "rgb": {
    "r": 214,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 60.448,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85368,
    "c": 0.15368,
    "h": 109.7
  },
  "luminance": 0.63491
}

Semantic roles & 50–950 ramp

primary
#D6D751
secondary
#3A3993
accent
#42E643
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6D751

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

Preview Lab → · Contrast checker → · Palette generator →

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