#D3D952#D3D952

#D3D952 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.82:1 contrast (WCAG AA passes).

Color values

HEX#D3D952
RGBrgb(211, 217, 82)
HSLhsl(63, 64%, 59%)
HSVhsv(63, 62%, 85%)
CMYKcmyk(2.8%, 0%, 62.2%, 14.9%)
CIE-LABlab(84.01, -19.01, 63.59)
CIE-LCHlch(84.01, 66.37, 106.65°)
OKLaboklab(85.56% -0.0575 0.1446)
OKLCHoklch(85.56% 0.156 111.7)
XYZxyz(53.2013, 64.0850, 17.5481)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D952 #5852D9
analogous
#D99B52 #D3D952 #8FD952
triadic
#D3D952 #52D3D9 #D952D3
tetradic
#D3D952 #52D99B #5852D9 #D9528F
square
#D3D952 #52D99B #5852D9 #D9528F
split-complementary
#D3D952 #528FD9 #9B52D9
monochromatic
#8C9120 #BCC32B #D3D952 #E0E484 #EDEFB6

Accessibility & contrast

On white

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

On black

13.82
#D3D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D952
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D952#FFFFFF#000000##000000
##D3D9521.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#E1CDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d3d952;
/* rgb */ color: rgb(211, 217, 82);
/* oklch */ color: oklch(85.6% 0.156 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e489',
    500: '#d3d952',
    950: '#000000',
  },
}
SCSS
$custom: #d3d952;
$custom-light: #e3e489;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d952",
  "rgb": {
    "r": 211,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 62.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8556,
    "c": 0.15562,
    "h": 111.7
  },
  "luminance": 0.64084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3D952

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

Preview Lab → · Contrast checker → · Palette generator →

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