#D6D951#D6D951

#D6D951 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.156 H 110.5°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D6D951
RGBrgb(214, 217, 81)
HSLhsl(61, 64%, 58%)
HSVhsv(61, 63%, 85%)
CMYKcmyk(1.4%, 0%, 62.7%, 14.9%)
CIE-LABlab(84.23, -17.85, 64.31)
CIE-LCHlch(84.23, 66.74, 105.51°)
OKLaboklab(85.79% -0.0545 0.1459)
OKLCHoklch(85.79% 0.156 110.5)
XYZxyz(54.0312, 64.5173, 17.3899)
Luminance0.6452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D951 #5451D9
analogous
#D99851 #D6D951 #92D951
triadic
#D6D951 #51D6D9 #D951D6
tetradic
#D6D951 #51D998 #5451D9 #D95192
square
#D6D951 #51D998 #5451D9 #D95192
split-complementary
#D6D951 #5192D9 #9851D9
monochromatic
#8E901F #BFC22A #D6D951 #E2E483 #EEEFB5

Accessibility & contrast

On white

1.51
#D6D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D6D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D951
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D951#FFFFFF#000000##000000
##D6D9511.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#E4CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d6d951;
/* rgb */ color: rgb(214, 217, 81);
/* oklch */ color: oklch(85.8% 0.156 110.5);
Tailwind
colors: {
  custom: {
    50: '#e6e488',
    500: '#d6d951',
    950: '#000000',
  },
}
SCSS
$custom: #d6d951;
$custom-light: #e6e488;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d951",
  "rgb": {
    "r": 214,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 61.324,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85794,
    "c": 0.15576,
    "h": 110.5
  },
  "luminance": 0.64516
}

Semantic roles & 50–950 ramp

primary
#D6D951
secondary
#3B3995
accent
#41E744
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6D951

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

Preview Lab → · Contrast checker → · Palette generator →

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