#D3D951#D3D951

#D3D951 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.156 H 111.7°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#D3D951
RGBrgb(211, 217, 81)
HSLhsl(63, 64%, 58%)
HSVhsv(63, 63%, 85%)
CMYKcmyk(2.8%, 0%, 62.7%, 14.9%)
CIE-LABlab(84.00, -19.08, 63.99)
CIE-LCHlch(84.00, 66.77, 106.60°)
OKLaboklab(85.55% -0.0578 0.1453)
OKLCHoklch(85.55% 0.156 111.7)
XYZxyz(53.1635, 64.0699, 17.3492)
Luminance0.6407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D951 #5751D9
analogous
#D99B51 #D3D951 #8FD951
triadic
#D3D951 #51D3D9 #D951D3
tetradic
#D3D951 #51D99B #5751D9 #D9518F
square
#D3D951 #51D99B #5751D9 #D9518F
split-complementary
#D3D951 #518FD9 #9B51D9
monochromatic
#8B901F #BCC22A #D3D951 #E0E483 #ECEFB5

Accessibility & contrast

On white

1.52
#D3D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#D3D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D951
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D951#FFFFFF#000000##000000
##D3D9511.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#E9D35A
Tritanopia (blue-blind)
#E1CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d3d951;
/* rgb */ color: rgb(211, 217, 81);
/* oklch */ color: oklch(85.6% 0.156 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e488',
    500: '#d3d951',
    950: '#000000',
  },
}
SCSS
$custom: #d3d951;
$custom-light: #e3e488;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d951",
  "rgb": {
    "r": 211,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 62.647,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85551,
    "c": 0.15638,
    "h": 111.7
  },
  "luminance": 0.64069
}

Semantic roles & 50–950 ramp

primary
#D3D951
secondary
#3D3995
accent
#41E748
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D951

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

Preview Lab → · Contrast checker → · Palette generator →

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